26.05.2010, 20:02
Quote:
Originally Posted by Bomba || ❶❸❸❼
No, you wrong, test it.
|
Your code failed.
Says You can't use this command (In RCON admin)
This code work's.
Код:
if(strcmp(cmd, "/jetpack", true) == 0) { if(!IsPlayerAdmin(playerid)) { SendClientMessage(playerid,0xFF0000AA,"You can't use this command."); return 1; } SendClientMessage(playerid, 0xFF7F50AA, "You have jetpack now!"); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK); return 1; }