[FilterScript] Vehicle/weapon spawner
#7

Quote:
Originally Posted by Wesley221
Посмотреть сообщение
Introduction:
This is my first filterscript im releasing. I know it is still a little bit basic, but updates will come soon.
What is this filterscript, what does this filterscript do? This filterscript is just a simple filterscript that allows you to spawn a vehicle anywhere you like, and give yourself a weapon. There are no dialogs included, all done by a few commands.

Configuration:
If you open the .pwn file, you will see a couple defines. Read them carefully, and change them to your own needs.
pawn Код:
#define USE_ADMIN       true // if true, you need to be admin to do this
#define PAY_CMD         false // if true, you need to pay an amount of cash to use this command
#define USE_RMESSAGE    true // if true, it automaticly sends messages to everyone
#define PAY             1000 // the amount you need to pay to use a command
#define MESSAGE1        "This server uses VehicleSpawner from Wesley221 (/spawnhelp)"
#define MESSAGE2        "/spawnhelp for all the commands of this filterscript! (/spawnhelp)"
#define MESSAGE3        "Spawning something only costs $%i! (/spawnhelp)"
#define MESSAGE4        "/(v/w) [vehicle/weaponname] to spawn a vehicle/weapon! No ID's needed! (/spawnhelp)"
#define MESSAGE5        "Out of ideas! Change this line to anything you like! (/spawnhelp)"
How to use:
Код:
/spawnhelp --> gives you some messages with all the commands there are
/v(eh)(icle) [vehiclename] --> spawns a vehicle by name (Example: /v infernus)
/w(eap)(on) [weaponname] --> gives yourself a weapon by name (Example: /w minigun)
/vnames --> gives you a link that shows you all the vehicle names
/wnames --> gives you a link that shows you all the weapon names
Changelog:
Код:
 - V1 released (3-8-2011)
 - V2 Updated strtok to Sscanf2 (13-8-2011
Download:
NOTE: The only things you need for this filterscript are the a_samp include, zcmd include, and sscanf2 plugin/include.
Zcmd by Zeex
Pastebin
SolidFiles .pwn
SolidFiles .amx
I've installed this on the latest SA:MP and it doesn't work. I tried /w minigun while logged in as an Admin and it said Unknown Command. I also tried /v rover and it said Unknown Command. Please help?
EDIT: Nevermind, I forgot to install those other thingies.
Reply


Messages In This Thread
Vehicle/weapon spawner - by Wesley221 - 03.08.2011, 10:26
Re: Vehicle/weapon spawner - by igor_andrusenko - 03.08.2011, 10:34
Re: Vehicle/weapon spawner - by Malakay - 03.08.2011, 20:47
Respuesta: Vehicle/weapon spawner - by D3IMON - 03.08.2011, 20:52
Re: Vehicle/weapon spawner - by Wesley221 - 03.08.2011, 22:16
Re: Vehicle/weapon spawner - by Wesley221 - 13.08.2011, 15:28
Re: Vehicle/weapon spawner - by Gangsta_Hotdog - 21.08.2011, 15:10
Re: Vehicle/weapon spawner - by Pinguinn - 21.08.2011, 15:36
Re : Vehicle/weapon spawner - by Naruto_Emilio - 21.08.2011, 15:39
Re: Vehicle/weapon spawner - by Wesley221 - 21.08.2011, 16:52
Re: Vehicle/weapon spawner - by Gangsta_Hotdog - 21.08.2011, 17:15
Re: Vehicle/weapon spawner - by Wesley221 - 21.08.2011, 17:35
Re: Vehicle/weapon spawner - by Gangsta_Hotdog - 21.08.2011, 20:04
Re: Vehicle/weapon spawner - by Wesley221 - 22.08.2011, 08:35
Re: Vehicle/weapon spawner - by Davz*|*Criss - 05.09.2011, 15:14
Re: Vehicle/weapon spawner - by deffo - 25.04.2012, 11:02

Forum Jump:


Users browsing this thread: 1 Guest(s)