SA-MP Forums Archive
Not start from the number - 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: Not start from the number (/showthread.php?tid=587101)



Not start from the number - DerickClark - 28.08.2015

Fixed...


Re: Not start from the number - PSYCHOBABYKILLA - 28.08.2015

try to define MAX_CAMERAS or instead of

for(new i; i < MAX_CAMERAS; i++)

try

for(new i; i < 5; i++)


Re: Not start from the number - DerickClark - 28.08.2015

i define max_cameras to 100
If i create the speedtrap to 4 speed traps then restart the server but the speed trap load perfect.
it just set back to id 0 format(string, sizeof(string), "You created a speed camera with ID: %i", i);
it need to start from 4 to 5 adding on


Re: Not start from the number - DerickClark - 28.08.2015

if i type /addcam 4 times then restart the server it will go to 4 to 5 then go up if i add more still. having the problem.


Re: Not start from the number - DerickClark - 28.08.2015

bump