13.09.2012, 19:08
Already did up there but here it is again:
pawn Код:
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][Hospital] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You have been sent to the hospital");
SetPlayerPos(playerid, 1177.5485,-1323.5773,11.0761);
SetPlayerCameraPos(playerid,1223.2250,-1289.4913,31.9257);
SetPlayerCameraLookAt(playerid,1177.5485,-1323.5773,14.0761);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetTimer("Hosptime", 30000, false);
}
return 1;
}