SA-MP Forums Archive
OnPlayerConnect - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerConnect (/showthread.php?tid=76397)



OnPlayerConnect - Rks25 - 04.05.2009

Does OnPlayerConnect(playerid) gets called in an filterscript?
Because i think it does not get called in my filterscript.


Re: OnPlayerConnect - Think - 04.05.2009

i guess it does, because some filterscripts have player variables that they reset @ connect so, yes (i guess ;p) never really tried it.


Re: OnPlayerConnect - Rks25 - 04.05.2009

What i noticed is this:

Variables like new =0; get called.
But a SCM doesn't. Why is that, and if i post same code in a gm, it does also call the SCM.

Strange..