03.08.2011, 10:26
(
Последний раз редактировалось Wesley221; 22.08.2011 в 08:33.
)
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.
How to use:
Changelog:
Download:
NOTE: The only things you need for this filterscript are the a_samp include, zcmd include, and sscanf2 plugin/include.
Zcmd by Zeex
Sscanf2 by ******
Pastebin
BIG NOTE: Only the pastebin link is updated!! Do not use solidfiles for now
SolidFiles .pwn
SolidFiles .amx
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)"
Код:
/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
Код:
- V1 released (3-8-2011) - V2 Updated strtok to Sscanf2 (13-8-2011) - V2.2 Some bug fixes, now you can choose the amount of ammo aswell! (22-8-2011)
NOTE: The only things you need for this filterscript are the a_samp include, zcmd include, and sscanf2 plugin/include.
Zcmd by Zeex
Sscanf2 by ******
Pastebin
BIG NOTE: Only the pastebin link is updated!! Do not use solidfiles for now
SolidFiles .pwn
SolidFiles .amx