[Include] LoadStaticVehiclesFromFileEx - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] LoadStaticVehiclesFromFileEx (
/showthread.php?tid=560160)
LoadStaticVehiclesFromFileEx -
ATGOggy - 27.01.2015
LoadStaticVehiclesFromFileEx
What is it?
With this include, you can set the respawn delay of LoadStaticVehiclesFromFiles().
Please don't say anything bad because this is my first release.
Examples:
PHP код:
LoadStaticVehiclesFromFileEx(ls_airport.txt, 100); // respawns every 100 seconds
PHP код:
LoadStaticVehiclesFromFileEx(ls_gen.txt, 500); // respawns every 500 seconds
PHP код:
LoadStaticVehiclesFromFileEx(flint.txt, (30*60)); // respawns every 30 minutes
Installation
Copy the file into your include folder (../pawno/include/) and just add this on top of your script:
PHP код:
#include <Vehicleloader>
Download
http://www.mediafire.com/download/dc...icleloader.inc
Special thanks to SA:MP developers and gl_common.inc.
Re: LoadStaticVehiclesFromFileEx -
Airblog - 27.01.2015
Nice include mate!
Re: LoadStaticVehiclesFromFileEx -
ATGOggy - 27.01.2015
Quote:
Originally Posted by Airblog
Nice include mate!
|
Thanks

, I'm happy that you liked it.
Re: LoadStaticVehiclesFromFileEx -
Jekazzz - 27.01.2015
is it function from "gl_common.inc" with "respawn_delay" parameter?
Re: LoadStaticVehiclesFromFileEx -
ATGOggy - 27.01.2015
Quote:
Originally Posted by Jekazzz
is it function from "gl_common.inc" with "respawn_delay" parameter?
|
Yes, it is.