SA-MP Forums Archive
Please help - 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: Please help (/showthread.php?tid=320309)



Please help - Leon01 - 22.02.2012

So this is the problem: I enter with a car in the mod shop, than finish customizing it and when I press enter to get out from the mod shop, I get out of the car and the car dissapears.
How can I fix this problem?


Re: Please help - Lynn - 23.02.2012

It's not a scripting issue, it's a..I guess you could say lag issue?
Make sure your menu's are fully loaded, and you're not pressing Enter too fast, or more then once.
Wait about...3-5 seconds inbetween each Enter submission.

This happens to me on my laptop.


Re: Please help - Leon01 - 23.02.2012

Quote:
Originally Posted by Lynn
Посмотреть сообщение
It's not a scripting issue, it's a..I guess you could say lag issue?
Make sure your menu's are fully loaded, and you're not pressing Enter too fast, or more then once.
Wait about...3-5 seconds inbetween each Enter submission.

This happens to me on my laptop.
It doesn't work. I've tried this method, but is the same even if I wait 10 seconds. Any other method to fix this ?


Re: Please help - MP2 - 23.02.2012

Try commenting out your entire OnEnterExitModShop and OnPlayerKeyStateChange callbacks. If it fixes, it's one of them. If not, it's a problem with your game. Try it in a blank GM also.