SA-MP Forums Archive
An ID 0 bug where when anyone leaves the ID 0 teleports - 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)
+--- Thread: An ID 0 bug where when anyone leaves the ID 0 teleports (/showthread.php?tid=372699)



An ID 0 bug where when anyone leaves the ID 0 teleports - Zach7 - 27.08.2012

Okay as the title says anytime someone leave ID 0 gets teleported I have checked OnPlayerDisconnect But I don't think there is anything out fo the ordinary there. I am just wondering how this happens and how it can be fixed?


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - Baboon - 27.08.2012

Look at loops, timers (especially playertimers) and variables that represents playerid, make sure you reset them when the player leaves.
If none of these worked, try connecting one NPC, when you start the server, this ID will have ID 0


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - Zach7 - 27.08.2012

Dude I have no idea what you mean by all those timers and shit


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - Zach7 - 28.08.2012

^^please help


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - R4VER - 28.08.2012

post your OnPlayerDisconnect here


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - Zach7 - 28.08.2012

Quote:
Originally Posted by R4VER
Посмотреть сообщение
post your OnPlayerDisconnect here
Raver I am not at my house right now but I will be at my house in about 30 minutes and I will PM it to you


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - RenSoprano - 28.08.2012

Do you try to update your sscanf?


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - Zach7 - 28.08.2012

Yes I did I can try to update it again


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - Zach7 - 29.08.2012

okay it didn't work


Re: An ID 0 bug where when anyone leaves the ID 0 teleports - _Khaled_ - 29.08.2012

Connect one NPC so it get's ID 0...