sampgdk
sampgdk copied to clipboard
OnPlayerConnect for FCNPC NPCs
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'sOnPlayerConnect
was printed out, so this means that NPCs are callingOnPlayerConnect
only in filterscripts (and probably the gamemode), but not in sampGDK.
- NPCs being connected with the help of the FCNPC plugin.
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.