Help with my Jail command
#6

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][pJail] == 1)
    {
        new id;
        SetPlayerInterior(playerid,10);
        SetPlayerVirtualWorld(id, 2);
        SetPlayerPos(id,227.69999694824,109,999.09997558594);
    }
    if(PlayerInfo[playerid][pAdmin] <= 1)
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
    }
    if(PlayerInfo[playerid][pAdmin] >= 2)
    {
        SetPlayerInterior(playerid,0);
    }
    return 1;
}
Reply


Messages In This Thread
Help with my Jail command - by Shockey HD - 30.11.2011, 21:45
Re: Help with my Jail command - by [MG]Dimi - 30.11.2011, 21:59
Re: Help with my Jail command - by Shockey HD - 30.11.2011, 22:10
Re: Help with my Jail command - by grand.Theft.Otto - 30.11.2011, 22:38
Re: Help with my Jail command - by Shockey HD - 30.11.2011, 23:51
Re: Help with my Jail command - by grand.Theft.Otto - 01.12.2011, 00:33
Re: Help with my Jail command - by Shockey HD - 01.12.2011, 01:01
Re: Help with my Jail command - by Rob_Maate - 01.12.2011, 03:12

Forum Jump:


Users browsing this thread: 2 Guest(s)