09.08.2010, 08:46
Download the new SA-MP server version.
Few things:
Random(bla) starts at 0 and ends at bla-1, so if you'd the random(100), the minimum would be 0 and the maximum would be 99.
Other to that, use '-1' for a default random color (A colour San Andreas randomly gives to its cars, not pink to trucks or something but just darkgreen etc. etc.)
One last suggestion: Use switch(listitem) with cases, instead of if(listitem == 0)
Looks nice, good job.
Few things:
Random(bla) starts at 0 and ends at bla-1, so if you'd the random(100), the minimum would be 0 and the maximum would be 99.
Other to that, use '-1' for a default random color (A colour San Andreas randomly gives to its cars, not pink to trucks or something but just darkgreen etc. etc.)
One last suggestion: Use switch(listitem) with cases, instead of if(listitem == 0)
Looks nice, good job.