Help.
#6

I don't know how to fix that but.... this

Код:
if(PlayerInfo[playerid][pJailed] > 0)
    {
        if(PlayerInfo[playerid][pJailed] == 1)
        {
            SetPlayerVirtualWorld(playerid,2);
            SetPlayerInterior(playerid,6);
            SetPlayerPos(playerid,264.5743,77.5118,1001.0391);
            SetPlayerHealth(playerid,100);
        }
        else if(PlayerInfo[playerid][pJailed] == 2)
        {
            SetPlayerVirtualWorld(playerid,10);
            SetPlayerInterior(playerid,3);
            SetPlayerPos(playerid,198.3940,162.0881,1003.0300);
        }
        else if(PlayerInfo[playerid][pJailed] == 3)
        {
            SetPlayerVirtualWorld(playerid,2);
            SetPlayerInterior(playerid,10);
            SetPlayerPos(playerid,219.4495,110.0645,999.0156);
        }
        else if(PlayerInfo[playerid][pJailed] == 4)
        {
            SetPlayerVirtualWorld(playerid,0);
            SetPlayerInterior(playerid,0);
            new AjailRand = random(4);
            if(AjailRand == 0)
            {
                SetPlayerPos(playerid, 1040.6840,1017.3040,55.3047);
            }
            if(AjailRand == 1)
            {
                SetPlayerPos(playerid, 1048.6038,1016.7516,55.3047);
            }
            if(AjailRand == 2)
            {
                SetPlayerPos(playerid, 1048.0579,1007.3638,55.3047);
            }
            if(AjailRand == 3)
            {
                SetPlayerPos(playerid, 1040.3180,1007.6415,55.3047);
            }
            SetPlayerVirtualWorld(playerid,0);
        }
    }
Should also go into OnPlayerSpawn aswell...
Reply


Messages In This Thread
Help. - by Ohioboii614 - 29.04.2012, 21:12
Re: Help. - by FalconX - 29.04.2012, 21:15
Re: Help. - by Ohioboii614 - 29.04.2012, 21:16
Re: Help. - by Ohioboii614 - 01.05.2012, 19:16
Re: Help. - by varga - 01.05.2012, 19:21
Re: Help. - by Passout - 01.05.2012, 19:21
AW: Help. - by Ohioboii614 - 01.05.2012, 20:29
Re: AW: Help. - by FalconX - 01.05.2012, 21:24
Re: Help. - by Ohioboii614 - 01.05.2012, 21:29
Re: Help. - by FalconX - 01.05.2012, 21:35

Forum Jump:


Users browsing this thread: 3 Guest(s)