If player is RCON admin, give jetpack.
#7

Quote:
Originally Posted by Bomba || ❶❸❸❼
No, you wrong, test it.
tested.
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;
}
Reply


Messages In This Thread
If player is RCON admin, give jetpack. - by Ihsan_Cingisiz - 26.05.2010, 18:30
Re: If player is RCON admin, give jetpack. - by Backwardsman97 - 26.05.2010, 18:30
Re: If player is RCON admin, give jetpack. - by Bomber - 26.05.2010, 18:36
Re: If player is RCON admin, give jetpack. - by NewTorran - 26.05.2010, 18:52
Re: If player is RCON admin, give jetpack. - by Mechscape - 26.05.2010, 19:34
Re: If player is RCON admin, give jetpack. - by Bomber - 26.05.2010, 19:49
Re: If player is RCON admin, give jetpack. - by Mechscape - 26.05.2010, 20:02
Re: If player is RCON admin, give jetpack. - by Lewwy - 26.05.2010, 20:34
Re: If player is RCON admin, give jetpack. - by bartje01 - 26.05.2010, 20:36
Re: If player is RCON admin, give jetpack. - by Bomber - 26.05.2010, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)