06.03.2015, 14:38
How do you go /jetpack no rcon, not working /jetpack if not connected to rcon.
pawn Код:
if(strcmp(cmd, "/jetpack", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
SendClientMessage(playerid, 0xFF7F50AA, "You have jetpack now!");
SetPlayerSpecialAction(playerid,2);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_GREY,"You can't use this command.");
return 1;
}
}
}