Help command
#4

pawn Код:
public WarnJail(playerid)
{
    PlayerStats[playerid][jail] = 1;
    SetPlayerPos(playerid, x,y,z);
    return 1;
}


if(Warns[playerid] == 2)
    {
        format(string, sizeof(string), "%s (%d) was automatically jailed, reason: had 3 warnings", receiver, giveplayerid);  
        SendClientMessageToAll(0x00FFFFFF, string);
        // make something like this maybe?
        SetTimerEx("WarnJail", 1000, false, "i", giveplayerid);
    }
This is just example
Reply


Messages In This Thread
Help command - by Spawe - 20.11.2018, 20:25
Re: Help command - by ApolloScripter - 20.11.2018, 21:22
Re: Help command - by TitoRayne - 21.11.2018, 08:29
Re: Help command - by AzaMx - 21.11.2018, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)