I've Errors For This CMD
#2

You don't need to save TogglePlayerControllable on not You could just directly call it.
PHP код:
CMD:back(playeridparams[])
{
    new 
name[MAX_PLAYER_NAME], string[128];
    if(
TogglePlayerControllable(playeridTRUE))
    {
    
SCM(playerid, -1"g");
    }
    
GetPlayerName(playeridnameMAX_PLAYER_NAME);
    
format(stringsizeof(string), "%s back from Afk."name);
    
SCMTA(0xFFFF00string);
    
TogglePlayerControllable(playeridTRUE);
    return 
1;

Reply


Messages In This Thread
I've Errors For This CMD - by Osamakurdi - 01.01.2018, 10:59
Re: I've Errors For This CMD - by JesterlJoker - 01.01.2018, 11:01
Re: I've Errors For This CMD - by Osamakurdi - 01.01.2018, 11:16
Re: I've Errors For This CMD - by MEW273 - 01.01.2018, 11:20
Re: I've Errors For This CMD - by Lokii - 01.01.2018, 11:37

Forum Jump:


Users browsing this thread: 2 Guest(s)