SA-MP Forums Archive
[FilterScript] [FS] DVA - Dynamic vehicle adder v1.1 [0.3] - 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)
+--- Thread: [FilterScript] [FS] DVA - Dynamic vehicle adder v1.1 [0.3] (/showthread.php?tid=113739)



[FS] DVA - Dynamic vehicle adder v1.1 [0.3] - Striker_Moe - 15.12.2009

>--- | DVA - Dynamic vehicle adder | --- <
Why?

Have you ever been annoyed because of the complicated vehicle adding in your server? It takes ages to /save vehicles and then add the lines in your gamemode.
Well, atleast it was annoying for me - so I created this filterscript.

How?

Adding vehicles (which are static = spawned all the time) to your server with this FS is easy as stealing a cookie from a drunk cat.

Drive to the location where you want the car, park it in the desired position and use /addveh. Done. The car you have saved will appear every time you start the server, just as a vehicle added in the gamemode would do.

Note: The vehicle colors are random because SA:MP does not feature any callback to get vehicle colors.

Screenz?

Why?

Download & Changelog

Sure. Here. Have fun with it.

Version 1.1:


Код:
Changelog:
---------------------------------------------
Version 1.1: 
- Fixed bug where cars spawned in the wrong direction
---------------------------------------------
Version 1.0:
- Initial release
Credits:

Scripting: Me aka Mo3.
The LoadStaticVehiclesFromFile function: Unknown, probably SA:MP devs.




Re: [FS] DVA - Dynamic vehicle adder - Lotusmp - 15.12.2009

nice one


Re: [FS] DVA - Dynamic vehicle adder - xLkSx - 15.12.2009

Very useful.. Good job.


Re: [FS] DVA - Dynamic vehicle adder - Striker_Moe - 15.12.2009

Thanks!


Re: [FS] DVA - Dynamic vehicle adder - [03]Garsino - 15.12.2009

Nice! Will probaly get handy for me.


Re: [FS] DVA - Dynamic vehicle adder v0.1 [0.3] - Hijolion - 16.12.2009

Nice one Mo3

this is Skulls from your Server


Re: [FS] DVA - Dynamic vehicle adder v0.1 [0.3] - roar - 16.12.2009

Wow! Really useful!


Re: [FS] DVA - Dynamic vehicle adder v0.1 [0.3] - asdfgh98 - 16.12.2009

Really Really nice


Re: [FS] DVA - Dynamic vehicle adder v0.1 [0.3] - Patrik356b - 16.12.2009

The .inc seif_vehicles contains GetVehicleColors(vehicleid, color1,color2);

Btw: Why isn't there a /delveh vehid command also ?


Re: [FS] DVA - Dynamic vehicle adder v0.1 [0.3] - [KMA]Lord_Deji - 17.12.2009

thx a lot mate, very usefull

Bug: when car spawn afther reload or restart, some are not in the correct angle