On saved coords player isdying.. (OnPlayerSpawn) - 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: On saved coords player isdying.. (OnPlayerSpawn) (
/showthread.php?tid=468450)
On saved coords player isdying.. (OnPlayerSpawn) -
Scrillex - 08.10.2013
pawn Код:
SetPlayerHealth(playerid, 50)
if(PlayerInfo[playerid][Registred] == 1)
{
SetPlayerPos(playerid,PlayerInfo[playerid][pPosx],PlayerInfo[playerid][pPosy],PlayerInfo[playerid][pPosz]);
SetPlayerVirtualWorld(playerid,PlayerInfo[playerid][pVw]);
SetPlayerInterior(playerid,PlayerInfo[playerid][pInt]);
}
What could be the problem...
Maybe spawn point ain't in right place?