11.01.2015, 18:13
It shouldn't spawn under OnPlayerConnect, i think. Try putting the SpawnPlayer function under OnPlayerRequestClass instead.
Also, if you have a user system requiring registration and/or passwords the NPC isn't automatically exempt from that, so you'd have to make NPC's bypass this in the script.
Also, if you have a user system requiring registration and/or passwords the NPC isn't automatically exempt from that, so you'd have to make NPC's bypass this in the script.