0 Membres et 1 Invité sur ce sujet
« Défendre le c cédille majuscule n’est-il pas vain ? Ca m’isole, comme disent les fous. »
if(strcmp(cmd, "/agarer", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:x,Float:y,Float:z; new Float:a; new carid; carid = GetPlayerVehicleID(playerid); GetPlayerName(playerid, playername, sizeof(playername)); GetVehiclePos(carid, x, y, z);// GetPlayerFacingAngle(playerid, a); GetVehicleZAngle(carid, a); if(PlayerInfo[playerid][pAdmin] >= 3) { CarInfo[carid][cLocationx] = x; CarInfo[carid][cLocationy] = y; CarInfo[carid][cLocationz] = z; CarInfo[carid][cAngle] = a; format(string, sizeof(string), "~n~ ous avez garer votre voiture dans cette endroit. ~n~"); GameTextForPlayer(playerid, "Il respawnera ici.", 10000, 3); OnPropUpdate(); OnPlayerUpdate(playerid); DestroyVehicle(carid); CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000); return 1; } else { SendClientMessage(playerid, COLOR_RED, " Vous n'êtes pas autoriser a utiliser cette commande !"); return 1; } } return 1; }
Salut,On est pas des serviteurs, débrouille-toi un peu.Et évite de commencer par un RP, c'est la voie du suicide.++Lloyd