View Single Post
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 01-15-2010 , 10:32   Re: GunGame
Reply With Quote #701

I am not sure if there is one floating around this topic... but I decided to make a plugin that will give the player their current weapon.

Changelog:
v1.0:
* Initial Release
v2.0:
* No longer works during a warmup round
* Will work no matter what weapon order you use
Note: It is designed to not work for players on knife or HE Grenade level.

To use this, players just need to type !give into chat and it will strip their current weapon and give them a new one. It will not work on knife or hegrenade level, and can not be used when dead.

THIS PLUGIN WILL NOT COMPILE ON THE FORUM BECAUSE IT USES NATIVES FROM SM GUNGAME. Compiled against SM v1.3.3.
Attached Files
File Type: sp Get Plugin or Get Source (gg_give.sp - 1186 views - 1.8 KB)
File Type: smx gg_give.smx (2.9 KB, 1542 views)
__________________

Last edited by bobbobagan; 07-13-2010 at 13:05.
bobbobagan is offline
Send a message via Skype™ to bobbobagan