[Include] LoadStaticVehiclesFromFileEx
#1

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.txt100); // respawns every 100 seconds 
PHP код:
LoadStaticVehiclesFromFileEx(ls_gen.txt500); // 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.
Reply
#2

Nice include mate!
Reply
#3

Quote:
Originally Posted by Airblog
Посмотреть сообщение
Nice include mate!
Thanks , I'm happy that you liked it.
Reply
#4

is it function from "gl_common.inc" with "respawn_delay" parameter?
Reply
#5

Quote:
Originally Posted by Jekazzz
Посмотреть сообщение
is it function from "gl_common.inc" with "respawn_delay" parameter?
Yes, it is.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)