Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/sky", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if(Joueur[playerid][jAdmin] >= 3)
- {
- new Float:X,Float:Y,Float:Z;
- GetPlayerPos(playerid, X, Y, Z);
- if(IsPlayerConnected(playerid))
- {
- if(giveplayerid != INVALID_PLAYER_ID)
- WepProtect(playerid, 46, 0);
- SetPlayerPos(playerid,X, Y, Z+1600);
- SendClientMessage(playerid, ROUGE_CLAIR, "Pas de bétise en parachute hein, est pas d'abut les gars ;)");
- SendClientMessage(playerid, ROUGE_CLAIR, "Sinon je ves me facher =D !");
- }
- }
- else
- {
- SendClientMessage(playerid, ROUGE_CLAIR, " Vous n'êtes pas autorisés à employer cette commande.");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement