how to force a command
#2

just try to use this function
Код:
//Example:
public OnPlayerRequestSpawn(playerid)
{
    if(!IsPlayerAdmin(playerid))
    {
        SendClientMessage(playerid, -1, "You may not spawn.");
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
how to force a command - by Akeem - 08.02.2018, 20:27
Re: how to force a command - by MarkNelson - 08.02.2018, 20:32
Re: how to force a command - by solstice_ - 08.02.2018, 21:57
Re: how to force a command - by RogueDrifter - 08.02.2018, 22:02
Re: how to force a command - by Akeem - 08.02.2018, 23:37
Re: how to force a command - by RogueDrifter - 09.02.2018, 00:39
Re: how to force a command - by Akeem - 09.02.2018, 01:10
Re: how to force a command - by RogueDrifter - 09.02.2018, 01:12
Re: how to force a command - by Akeem - 09.02.2018, 01:21
Re: how to force a command - by RogueDrifter - 09.02.2018, 01:23

Forum Jump:


Users browsing this thread: 1 Guest(s)