SA-MP Forums Archive
When I'm buy a car from the dealership server is lagged for 20-30 secs. - 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: When I'm buy a car from the dealership server is lagged for 20-30 secs. (/showthread.php?tid=489880)



When I'm buy a car from the dealership server is lagged for 20-30 secs. - roncohen - 24.01.2014

Hello,
I got a really big bug with my car dealership, Whens I'm buy a car from there my server is lagging for 20-30 secs I think
And I didn't got any solution to fix it, I'm used cardealerships.json
I saw a man advertised the same bug like mine but I didn't understand him
Anyone can help me with that please I need it hurry.
If someone want to contact me in Skype, so add me Ron7897
And the solution he writed it's that
[Then remove the save function from those functions to stop it from being called when "when the player is buying vehicle or when player creating dealership/dealership vehicle... " happens BUT be warned if your server crashes you will have a roll back (data loss from last save point) that is the only way unless you want to re-write your saving / loading functions to use a different system to store data.]
What should I need to do?


Re: When I'm buy a car from the dealership server is lagged for 20-30 secs. - Luis- - 24.01.2014

How are we supposed to know?


Re: When I'm buy a car from the dealership server is lagged for 20-30 secs. - roncohen - 24.01.2014

You need a code?


Re: When I'm buy a car from the dealership server is lagged for 20-30 secs. - roncohen - 24.01.2014

And else, How Can I put my code here?
like all the others do
pawno code:
^Code^


Re: When I'm buy a car from the dealership server is lagged for 20-30 secs. - roncohen - 24.01.2014

Anyone can help me


Re: When I'm buy a car from the dealership server is lagged for 20-30 secs. - Mr.Faqahat - 24.01.2014

Post the Code Where a player buys a vehicle , does it happens every time ?