SA-MP Forums Archive
OnPlayerSpawn isn't called... - 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: OnPlayerSpawn isn't called... (/showthread.php?tid=407781)



OnPlayerSpawn isn't called... - sdg9670 - 15.01.2013

if player is death, OnPlayerDeath is calld.
but, onplayerspawn isn't called...

public OnPlayerDeath(playerid, killerid, reason)
{
//blank
return 1;
}
public OnPlayerSpawn(playerid)
{
print("debug");
return 1;
}


Re: OnPlayerSpawn isn't called... - Jeffry - 15.01.2013

Probably one of your Filterscritps stops working at OnPlayerSpawn or returns 0 at some point.
Check them.


Re: OnPlayerSpawn isn't called... - sdg9670 - 15.01.2013

Quote:
Originally Posted by Jeffry
Посмотреть сообщение
Probably one of your Filterscritps stops working at OnPlayerSpawn or returns 0 at some point.
Check them.
No, I don't use FS..


Re: OnPlayerSpawn isn't called... - Twixter - 15.01.2013

Quote:
Originally Posted by sdg9670
Посмотреть сообщение
No, I don't use FS..
Maybe in some include.