11.03.2010, 14:45
Quote:
Originally Posted by Joe Torran C
How do i make it if playerinfo for player jail is 1 it sends him to jail,
I tried putting it in OnPlayerSpawn, It sets my position and interior ect, But my gamemode overides the interior so im just stook in sky, How do i make it set the interior on the fs AFTER it has on the gamemode, |
pawn Код:
public SetPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pJailed] == 1)
{
SetPlayerInterior(playerid, 6);
PlayerInfo[playerid][pInt] = 6;
SetPlayerPos(playerid,264.6288,77.5742,1001.0391);
SendClientMessage(playerid, COLOR_LIGHTRED, "Back to prison.");
return 1;
}
}