[TFC] Weapon Giver
1 Attachment(s)
http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif
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. http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif http://www.amxmodx.org/images/tfc.gif |
Re: Weapon Giver
Quite nicely done actually. IMO I would add the ability to do a command instead of having to go through the menu. Anyway, leaving in New Plugins for a little bit so people can see it.
|
Re: Weapon Giver
Nice plugin! :)
|
Re: Weapon Giver
The number at the end must equal the number of parameters plus one for the command itself.
So this should be 3: Code:
public giveweaponcmd(id, level, cid) { |
Re: Weapon Giver
... i realy need to think better, those are debug messages wich i forgot to remove. (Re-uploaded)
|
Re: Weapon Giver
Great plugin for tfc! Lots of fun. But the players lose the given weapons when they die. :( Is there a way to change this? Can the weapons continue with respawn? Again gj! :)
|
Re: Weapon Giver
This is caused by TFC itself, it strips weapons on every respawn, incase you change class.
I might have a update for this soon. |
Re: Weapon Giver
Updated to 2.0.
|
Re: Weapon Giver
Quote:
|
Re: Weapon Giver
Thank you for the added functions. But can you add an off (0) and on (1) option as well please? I don't want the server to be "allweapons" all the time. I'm thinking of voting the "all weapons mode" in during the last 5 minutes of each match.
Its good to see more TFC plugins coming in. Hoping to keep TFC alive! :) |
All times are GMT -4. The time now is 11:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.