If player is RCON admin, give jetpack.
#4

Less Lines:

pawn Код:
if(strcmp(cmd, "/jetpack", true) == 0) {
  if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFF0000AA,"You can't use this command.");
  SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK); SendClientMessage(playerid, 0xFF7F50AA, "You have jetpack now!");
  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)