Raised This Month: $213 Target: $400
 53% 

[TFC] Weapon Giver


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Team Fortress Classic        Category:   Admin Commands        Approver:   Emp` (115)
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 04-07-2007 , 19: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 - 2776 views - 21.1 KB)
__________________
Um, hi.

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:52.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode