1
Graphisme/Créations / Re : tutorielle - Photofiltre - Mon 1er Tutorielle
« le: 19 Avril 2008, 13:25:35 »
j'aime beaucoup 'effet que sa fait :)
=> c'est mon avi perso
+
=> c'est mon avi perso
+
Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.
mais pour le /r
new Float:Pos[MAX_PLAYERS][4]; //
if(strcmp(cmdtext,"/s",true)== 0) {
GetPlayerPos(playerid,Pos[playerid][0],Pos[playerid][1],Pos[playerid][2]);
GetPlayerFacingAngle(playerid,Pos[playerid][3]);
GameTextForPlayer(playerid,"~g~Position sauvegardee",3000,3);
new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,X,Y,Z);
PlayerPlaySound(playerid,1056,X,Y,Z);
return 1;
}
else if (strcmp(cmdtext, "/r", true)== 0) {
if(IsPlayerInAnyVehicle(playerid))
{
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,Pos[playerid][0],Pos[playerid][1],Pos[playerid][2]);
SetPlayerFacingAngle(playerid,Pos[playerid][3]);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid,"~g~Position chargee",3000,3);
PlayerPlaySound(playerid,1057,X,Y,Z);
}
else{
SetPlayerPos(playerid,Pos[playerid][0],Pos[playerid][1],Pos[playerid][2]);
SetPlayerFacingAngle(playerid,Pos[playerid][3]);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid,"~g~Position chargee",3000,3);
new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,X,Y,Z);
PlayerPlaySound(playerid,1057,X,Y,Z);}
return 1;
}
Que chacun puissent choisir la touche qui va activer le nitro.