SA-MP Forums Archive
[FilterScript] Vehicle Spawner (with anti spam) - 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] Vehicle Spawner (with anti spam) (/showthread.php?tid=184505)



Vehicle Spawner (with anti spam) [HUGE UPDATE @ 11-4-2011] - Kwarde - 20.10.2010

Hi!
This is another filterscript made by me.
It's just a vehicle spawner (on vehicle model ID), with anti-spam (no more laggs )
When you leave the server, filterscripts exits, when you spawn a new vehicle or when you do /removevec , the vehicle'll be removed.

Information

Explaination:
This script does spawn/call/goto or remove a vehicle.
When you use the command, a vehicle'll be created on the place where you are.
X+Y+Z+A+INT+VIR. A previous vehicle'll be removed when you use the command another time.


Commands:
/kvec [ID] -> Spawn a vehicle, where parameter ID is the vehicle model (ID).
Example: "/kvec 411" for an infernus

/kcallvec -> Calls your spawned vehicle

/kgotovec -> Teleports you into the vehicle

/kremovevec -> Removes the spawned vehicle

!! /krcononly -> Toggle commands for RCON only on/off

!! /krallvec -> Removes all vehicles

/kvechelp -> Shows all the commands

* Commands with '!!' are standard RCON only. The others can be toggled on/off for RCON only with /krcononly
* The commands are standard for RCON only!

Version:
1.2

Changelog:
Код:
1.0
* Script made
* First release

1.1
* Command /removevec added
* Some improvements made.

1.1.2
* Minor bugs fixed

1.2
* Re-made from scratch
* Now using ZCMD instead of DCMD
* More commands added
Download:
Source only (pwn): http://pastebin.com/WJdL8qYU
ZCMD include+Source (pwn)+Script (amx): http://www.rpdsamp.nl/get/gta/sa/mp/...le_Spawner.zip

Thanks to zeex for his ZCMD include.

Have fun with it.


Re: Vehicle Spawner (with anti spam) - New_Player[USW] - 20.10.2010

Thank you very very much man! I was waiting for one of these filterscripts becuase noobs spawn too many cars in my server and that is what makes my server laggy and crashing. Thank you so much!


Re: Vehicle Spawner (with anti spam) - Kwarde - 20.10.2010

No problem


Re: Vehicle Spawner (with anti spam) - Kwarde - 20.10.2010

***** UPDATED *****
See the changelog for the last updated (last update: 1.1.2)


Re : Vehicle Spawner (with anti spam) - Karting06 - 21.10.2010

Hi,
Very good. But can you ad it with the vehicle name: exemple /vec turismo?

Thanks,

Karting06


Re: Vehicle Spawner (with anti spam) - HyperZ - 21.10.2010

Simple, but nice work


Re: Vehicle Spawner (with anti spam) - royal_king - 21.10.2010

Nice work


Re: Vehicle Spawner (with anti spam) - Kwarde - 22.10.2010

Thank you!

Karting06:
Yeah I can do that :O
I'll add it as soon as possible (idk when. I'm a quite busy)


Re: Vehicle Spawner (with anti spam) - Double-O-Seven - 22.10.2010

How about a GUI menu with all vehicles listed with names?^^


Re: Vehicle Spawner (with anti spam) - Kwarde - 23.10.2010

Thanks Double-O-Seven -> I'll do it as soon as possible.
And @Karting06: I use Double-O-Seven's idea too. /vec and /vecmenu. Then it's:
'/vec [vehicle model/vehiclename]' and just '/vecmenu'


Re: Vehicle Spawner (with anti spam) - jonnyboy - 28.10.2010

cool script


Re: Vehicle Spawner (with anti spam) - Kwarde - 19.02.2011

Thanks.
But I'm just thinking; It can be improved: Interior and Virtual World ain't checked, only position (XYZA)


Re: Vehicle Spawner (with anti spam) - Kwarde - 11.04.2011

UPDATE: Huge update.
Commands added, re-made from scratch, improovements and more. Just check the script


Re: Vehicle Spawner (with anti spam) - Anastasia - 11.04.2011

Great Work, Kwarde!


Re: Vehicle Spawner (with anti spam) - Kwarde - 12.04.2011

Thank you.