SA-MP Forums Archive
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: OnPlayerSpawn (/showthread.php?tid=324917)



OnPlayerSpawn - lordturhan - 11.03.2012

Ok so i have 2 teams on my server Army and Terrorist usually after restart when you choose army team it doesnt call OnPlayerSpawn public.This problem happens sometimes but its annoying and needs to be fixed.Like example you need to receive Desert Eagle on OnPlayerSpawn but you just dont receive it.

Any ideas how to solve it?


Re: OnPlayerSpawn - MP2 - 11.03.2012

Debug it. Put a print on the first line of OnPlayerSpawn so you can see if it really is being called or not.