SA-MP Forums Archive
I fucking cannot understand why the npc disconnected! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I fucking cannot understand why the npc disconnected! (/showthread.php?tid=143062)



I fucking cannot understand why the npc disconnected! - Ben147 - 21.04.2010

I added
if(IsPlayerNPC(playerid)) return 1;

to the anticheat to the onplayerconnect to the onplayerrequistclass to the everything
but when i run the server the npc join and after 10seconds disconnected...
what should i do?


Re: I fucking cannot understand why the npc disconnected! - Backwardsman97 - 21.04.2010

Don't they disconnect if they don't have a recording to playback?


Re: I fucking cannot understand why the npc disconnected! - Steven82 - 21.04.2010

Quote:
Originally Posted by Baked-Banana
Don't they disconnect if they don't have a recording to playback?
Yes you are correct.


Re: I fucking cannot understand why the npc disconnected! - Ben147 - 21.04.2010

Yeah, thanks :]