View Single Post
Plugin Info:     Modification:          Category:          Approver:   Emp` (115)
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 04-07-2007 , 18:01   [TFC] Weapon Giver
Reply With Quote #1


This plugin gives weapons to players in TFC.
I'm suprised that this has never been made before.

Commands:
amx_giveweaponmenu KICK acces needed
amx_showweapons to show weaponID's and ammoID's in the console
amx_giveweapon (NAME/@ALL/@BLUE/@RED/@YELLOW/@GREEN) (WeaponID) KICK acces needed
(Can also use first letter of the team like @A for ALL @R for RED etc...)
amx_giveammo (NAME/@ALL/@BLUE/@RED/@YELLOW/@GREEN) (ammoID) (amount) KICK acces needed
(Can also use first letter of the team like @A for ALL @R for RED etc...)

Cvars:
amx_spawnweapon1
amx_spawnweapon2
amx_spawnweapon3
amx_spawnweapon4
amx_spawnweapon5
Put amx_spawnweapon1/5 to a weaponID number, everyone will get that weapon on spawn.
This can be done for 5 weapons max, you can also use 200 to strip weapons, and 100 to give all weapons.
You can also put this to an AmmoID and it will give the class max ammo on spawn.
Goes back to 0 automaticly after mapchange.

Example: Put amx_spawnweapon1 to 200 to strip weapons, but amx_spawnweapon2 to 3 for knife, and everyone will get knife only on spawn.

Modules: FUN + TFCX + ENGINE

Version History:
1.0 First Release
1.1 Fixed bug in command (Thanks pizzahut)
1.2 Added a command for faster use.
2.0 Added spawnweapon, added ammogive, added weaponstrip.
Attached Files
File Type: sma Get Plugin or Get Source (giveweapon.sma - 3369 views - 21.1 KB)
__________________
Um, hi.

Last edited by Ramono; 10-28-2008 at 11:27. Reason: Cause I want to!
Ramono is offline