/jail command help
#4

Quote:
Originally Posted by HY
View Post
pawn Code:
public OnPlayerConnect(playerid)
{
    if(PInfo[playerid][pJail] = 1);
    {
        SetPlayerPos(playerid, -1346.5848,1323.8483,2.4516);
        SendClientMessage(playerid, -1, "You are still in Jail. You can't escape !");
    }
    return 1;
}
Wrong.

Its:
pawn Code:
public OnPlayerSpawn(playerid)
{
    if(PInfo[playerid][pJail] == 1);
    {
        SetPlayerPos(playerid, -1346.5848, 1323.8483, 2.4516);
        SendClientMessage(playerid, -1, "You are still in Jail. You can't escape!");
    }
    return 1;
}
Reply


Messages In This Thread
/jail command help - by 9noober - 04.11.2014, 14:35
Re: /jail command help - by Runn3R - 04.11.2014, 14:37
Re: /jail command help - by HY - 04.11.2014, 14:39
Re: /jail command help - by Runn3R - 04.11.2014, 14:43
Re: /jail command help - by AmirRFCNR - 04.11.2014, 14:43

Forum Jump:


Users browsing this thread: 2 Guest(s)