Disabling All Commands
#3

view of last command:
Код:
if(strcmp(cmdtext, "/teleport", true)==0)
    {
    	if(IsPlayerAdmin(playerid))
    	  {
				SetPlayerInterior(playerid, 0 );
				SetPlayerPos(playerid, 1966.6487,1514.3054,27.2428);
				SendClientMessage(playerid, COLOR_GREEN, "You have been teleported to the SnAcH!");
 		}
 			if(!IsPlayerAdmin(playerid))
  			  {
  			  SendClientMessage(playerid, COLOR_BRIGHTRED, "You have to be a rcon admin to use this command!");
  			  }
        return 1;
}
like that? it still says i need to close it
Reply


Messages In This Thread
Disabling All Commands - by SnAcH - 21.04.2009, 21:21
Re: Disabling All Commands - by 13th - 21.04.2009, 21:32
Re: Disabling All Commands - by SnAcH - 21.04.2009, 21:36
Re: Disabling All Commands - by StrickenKid - 21.04.2009, 21:44
Re: Disabling All Commands - by 13th - 21.04.2009, 21:47
Re: Disabling All Commands - by StrickenKid - 21.04.2009, 21:53
Re: Disabling All Commands - by rabit7 - 22.04.2009, 00:31

Forum Jump:


Users browsing this thread: 2 Guest(s)