SA-MP Forums Archive
ls_gen_outer.TXT Random Colours - 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: ls_gen_outer.TXT Random Colours (/showthread.php?tid=85273)



ls_gen_outer.TXT Random Colours - Kyle - 06.07.2009

Does anyone have

ls_gen_outer.txt

With random Vehicle Colors

Because if i was to do all 800 vehicles it would take me ages so i was wondering if one was predone - Thanks!


Re: ls_gen_outer.TXT Random Colours - -Sneaky- - 06.07.2009

Download the SA-MP server and look into the /scriptfiles/ directory it's included in there:

http://sa-mp.com/download.php


Re: ls_gen_outer.TXT Random Colours - kaisersouse - 06.07.2009

Its not. You'll have to do it on your own.

Sneaky..he has the list he just doesn't want to conver the vehicle colors himself


Re: ls_gen_outer.TXT Random Colours - Kyle - 06.07.2009

Over 800 To do


Re: ls_gen_outer.TXT Random Colours - -Sneaky- - 06.07.2009

Quote:
Originally Posted by kaisersouse
Its not. You'll have to do it on your own.

Sneaky..he has the list he just doesn't want to conver the vehicle colors himself
Aha.. x_X

Quote:
Originally Posted by KyleSmith
Over 800 To do
Actually the max vehicle limit is 700, so only 700 :P but I will make it easy for you... you don't need to convert them all.

Assuming you use LoadStaticVehiclesFromFile from the README goto this line:

pawn Код:
AddStaticVehicleEx(vehicletype,SpawnX,SpawnY,SpawnZ,SpawnRot,Color1,Color2,-1);
And change it to

pawn Код:
AddStaticVehicleEx(vehicletype,SpawnX,SpawnY,SpawnZ,SpawnRot,-1,-1,-1);
This should make the colors random


Re: ls_gen_outer.TXT Random Colours - Kyle - 06.07.2009

ty (L)