01.12.2011, 00:33
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;
}