hospital - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: hospital (
/showthread.php?tid=461373)
hospital -
romka - 01.09.2013
hello.
I have one problem.When i die then i dont teleport to hospital put i teleport to place where i logged in.
PHP код:
Public OnPlayerDead if(FirstSpawn[playerid] != 1 && PlayerInfo[playerid][pJailed] != 1 && PlayerInfo[playerid][pJailed] != 2 && SafeSpawn[playerid] != 1)
{
PlayerInfo[playerid][pJailed] = 3;
PlayerInfo[playerid][pJailTime] = 300;
}
Sorry bad english.
Thanks very much