Possible Bug Concerning NPC's - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Possible Bug Concerning NPC's (
/showthread.php?tid=175953)
Possible Bug Concerning NPC's -
silvan - 11.09.2010
When a server get restarted, and you use "ConnectNPC" it will run NPC again, and it will not disconnect the older NPC the one that was active before the restart. So then it will become with 2 NPC's not 1. Therefor if the maxnpc variable is set to 1 it will not run the NPC again... and if you have 2 NPC it will run them both for 2 times. I think to fix this problem its needed to be done a function for example: DisconnectNPC(npcname);
or it can be automatically disconnected when the gamemode restart. This bug is also there if you use the rcon command " GMX" too.
Re: Possible Bug Concerning NPC's -
Vince - 11.09.2010
Confirmed. Also, when switching from a gamemode that has one or more NPC's connected to a gamemode that doesn't have any, all NPC's from the previous gamemode will still reconnect.
Re: Possible Bug Concerning NPC's -
silvan - 11.09.2010
sorry if i put this in wrong section.
Re: Possible Bug Concerning NPC's -
Marvin81 - 12.09.2010
Adding post to keep track. I hope theres a fix for this as I've been hoping to play around with NPC's.
Quote:
This forum requires that you wait 120 seconds between posts. Please try again in 50 seconds.
|