SA-MP Forums Archive
[help]Bus NPC crash - 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: [help]Bus NPC crash (/showthread.php?tid=156721)



[help]Bus NPC crash - shithead - 23.06.2010

Hello,on my server i scripted Bus npc.Once at day NPC that is driving bus crashes.What can i do about it exept restarting server?Any ideas?
BTW.Code is correct,no doubt


Re: [help]Bus NPC crash - bigcomfycouch - 23.06.2010

In onplayerdisconnect, check if the player is an npc. Reconnect it if it is.