I have a suggestion for you:
On top of OnPlayerConnect, OnPlayerRequestSpawn, and?OnPlayerSpawn?callbacks. Check the player is a NPC, then return 1.
By doing this you are passing the NPC through the login or register.
On top of OnPlayerConnect, OnPlayerRequestSpawn, and?OnPlayerSpawn?callbacks. Check the player is a NPC, then return 1.
PHP Code:
if(IsPlayerNPC(playerid)) return 1;