16.05.2014, 16:59
pawn Код:
if(strcmp(cmd, "/jetpack", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "You are now using Jetpack!");
SetPlayerSpecialAction(playerid,2);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_GREY,"You can't use this command!");
return 1;
}
}
}