[Include] [INC] AutoUnloader (Vehicles)
#1

AutoUnloader by Thomas_Conroy

Description:

This include allows you to quickly unload vehicles from your scripts. To use its functions, simply add "#include <AutoUnload>" to the top of your script having placed the .inc file in your includes folder.

So far this script only removes vehicles, but I may make one for objects/pickups too. If you can think of any functions you feel should be included, tell me!

Functions:

CreateCar - In place of CreateVehicle
DestroyCar - In place of DestroyVehicle
UnloadCars - Used to remove all vehicles created by that filterscript.

Download:



Version 1:
Test FS:







Usage:

Feel free to modify the .inc as you wish. Please leave the credit in place, as I spent several minutes :P creating this script. More information on its functions can be found in the .inc.


Thanks:

Thanks to those who designed Sa-mp and those who contribute with their knowledge on the forums.

Thank you, Thomas_Conroy
(For those that do not know me, Thomas_Conroy is my sa-mp name.)
Reply
#2

Nice !
Reply
#3

Looks sexy.

Maybe a LoadCar to relod the cars that were unloaded?
Reply
#4

Quote:
Originally Posted by NeRoSiS
Looks sexy.

Maybe a LoadCar to relod the cars that were unloaded?
I'ma think about that one..

Would it load the cars that that filterscript loaded previously?
Reply
#5

Ohhh, lala, very nice work there.
Reply
#6

Yeah precisely that.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)