SA-MP Forums Archive
Some Errors - 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: Some Errors (/showthread.php?tid=160772)



Some Errors - Mr.Ilusion - 17.07.2010

Hello everyone, i have following errors:

First error: I download the Double-O-Stream and i installed it corectly.
I got this warning on gamemode:

Код:
Double-O-Stream.inc(42) : warning 217: loose indentation
And the line where is error:

Код:
new VehicleCount;
2nd error:
I added this vehicle streamer to add up to 2000+ vehicles.
After i install it, occurred a hellish lag.

Please help.


Re: Some Errors - TouR - 17.07.2010

use #pragma tabsize 0 at the top of your script


Re: Some Errors - mprofitt - 17.07.2010

Do Not use that hack to get rid of the error, find the REAL problem.

Quote:
Originally Posted by tour15
Посмотреть сообщение
use #pragma tabsize 0 at the top of your script



Re: Some Errors - TouR - 17.07.2010

Quote:

hack

Hack ? Huh?


Re: Some Errors - Mr.Ilusion - 17.07.2010

Quote:
Originally Posted by tour15
Посмотреть сообщение
use #pragma tabsize 0 at the top of your script
Already used


Re: Some Errors - TouR - 17.07.2010

Anyway loose intentation is not a prob...


Re: Some Errors - Mr.Ilusion - 17.07.2010

Include: http://pastebin.com/RG6ey04J


Re: Some Errors - TouR - 17.07.2010

http://pastebin.com/MQHpPJ1N

try this


Re: Some Errors - Mr.Ilusion - 17.07.2010

Quote:
Originally Posted by tour15
Посмотреть сообщение

Thank you, it's working, but it's lag, i can enter in police vehicle, and after 1 second, vehicle is respawing.
My pc it's not a problem, i test in other PC.


Re: Some Errors - TouR - 17.07.2010

Hmm you maybe use too many timers at OnGameModeInit or something... Try to remove 1 by 1 your FS and find where is the problem