sampgdk icon indicating copy to clipboard operation
sampgdk copied to clipboard

OnPlayerConnect for FCNPC NPCs

Open IstuntmanI opened this issue 6 years ago • 0 comments

As I wrote in https://github.com/samp-incognito/samp-streamer-plugin/issues/199:

OnPlayerConnect isn't called in the Streamer Plugin (via sampGDK), but the same debug line in my filterscript's OnPlayerConnect was printed out, so this means that NPCs are calling OnPlayerConnect only in filterscripts (and probably the gamemode), but not in sampGDK.

Maybe @ziggi can test it better and tell us more details about this ? Is it actually working correctly for regular SA-MP NPCs ?

EDIT: Some guy told me that regular NPCs detect checkpoints and dynamic areas just fine, so they call OnPlayerConnect like they should, so it is probably a FCNPC problem, somehow. Probably it can still be fixed by sampGDK somehow.


May be something similar to https://github.com/Zeex/sampgdk/issues/124 ? Also, can that function and callback related to client check be added too in sampGDK ? I see that sampGDK still misses them.

IstuntmanI avatar Aug 10 '17 20:08 IstuntmanI