01.05.2012, 19:21
I don't know how to fix that but.... this
Should also go into OnPlayerSpawn aswell...
Код:
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); } }