npcs on 0.3b R2 isent working....
#1

i pretty much tried everything...i recompiled everything with 0.3b R2 includes, i recompiled everything....re-recorded on foot records and even vehicles....

nothing is working here...all i see is an incomming connection but nothing connects to the server...

am i forgetting somthing? -_-
Reply
#2

for me npc's are working fine in 0.3b R2 version.

Make sure:
-> There is nothing that may interfear with the NPC to spawn such as Dialogs and stuff.
-> put this code in some callbacks that the NPC would need to use

under the callbacks:
OnPlayerSpawn
OnPlayerConnect
OnPlayerRequestClass
OnPlayerRequestSpawn

Код:
  if(IsPlayerNPC(playerid)) return 1;
Reply
#3

Go to your server.cfg, then add 'maxnpcs [number of your NPCs]' (example, I want 10 NPCs to join, I do 'maxnpcs 10' in my server.cfg, without the ') if you didn't do that yet. That should fix the problem .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)