Would anybody care to tell me how to do this? - 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: Would anybody care to tell me how to do this? (
/showthread.php?tid=86121)
Would anybody care to tell me how to do this? -
gtalover12 - 11.07.2009
Hello all.
Well, i was wondering how i could load vehicle positions, colours and ofcourse the model from a file in the scriptfiles folder.
Basicly, a custom callback to load the vehicles out of the file and into the CreateVehicle function, and this callback could be called from OnGameModeInit, if i remember correctly, thare was an example in the sa-mp Windows server package, but as for some reason that i don't know of, i cannot download it, i get a " page not found " message, strangely this is happening on all websites that link me to a
http://files.URL link.
I'de greatly appreciate if somebody could give me an example of this kind of script.
Thankyou for your time.
~NoxY
Re: Would anybody care to tell me how to do this? -
Johnny..Boy - 12.07.2009
<Removed> Sorry, Buggy Script!
Re: Would anybody care to tell me how to do this? -
Vince - 12.07.2009
In your scriptfiles folder there should be a folder called vehiclelists. In that folder you'll find a bunch of txt files and a readme. The readme contains the code to load the vehicles.
Re: Would anybody care to tell me how to do this? -
gtalover12 - 13.07.2009
Quote:
|
Originally Posted by Vince
In your scriptfiles folder there should be a folder called vehiclelists. In that folder you'll find a bunch of txt files and a readme. The readme contains the code to load the vehicles.
|
Thankyou very much.