goto cmds
#2

You don't need else there.


This should work just fine.
PHP код:
CMD:gotols(playeridparams[]) 

    if(
PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playeridCOLOR_REDNOTADMIN); 
    
PlayerInfo[playerid][pInt] = 0
    
SetPlayerInterior(playerid0); 
    
SetPlayerPos(playerid1258.7352,-2036.7100,59.4561); 
    
SendClientMessage(playeridCOLOR_WHITE"You have been teleported to Los Santos!"); 
    return 
1

Reply


Messages In This Thread
goto cmds - by Jaua10 - 10.06.2018, 23:42
Re: goto cmds - by DarkSkull - 11.06.2018, 00:24
Re: goto cmds - by Robin96 - 11.06.2018, 00:36
Re: goto cmds - by Jaua10 - 11.06.2018, 01:45
Re: goto cmds - by SyS - 11.06.2018, 02:19
Re: goto cmds - by Jaua10 - 11.06.2018, 02:43
Re: goto cmds - by Sew_Sumi - 11.06.2018, 03:12
Re: goto cmds - by Jaua10 - 19.06.2018, 06:11
Re: goto cmds - by DerickClark - 19.06.2018, 06:13
Re: goto cmds - by kovac - 19.06.2018, 12:57

Forum Jump:


Users browsing this thread: 2 Guest(s)