Raised This Month: $ Target: $400
 0% 

Weapon Return


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   ConnorMcLeod (74)
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-30-2011 , 00:28   Weapon Return
Reply With Quote #1

Description:
This plugin allows players to return their weapons back to the store for a refund.

Client Commands:
/return - Returns current weapon.

CVars:
rw_percent <percentage> <default:0.80> - How much money players should get back. MUST BE A DECIMAL.
rw_buyzone <0/1> <default:1> - Whether players must be in a buyzone to return their weapons.

Changelog:
Code:
July 30, 2011  - v1.0 - Plugin Release
                    - v1.1 - Few optimizations
                    - v1.2 - Added support for shield return
Credits:
nikhilgupta345 - Code
XxAvalanchexX - ham_strip_weapon stock
Exolent - cs_set_user_shield stock

Installation:
-Click on 'Get Plugin' below
-Place 'weapon_return.amxx' into your plugins folder
-Add the text 'weapon_return.amxx' to the bottom of plugins.ini
-Restart server or change map
Attached Files
File Type: sma Get Plugin or Get Source (weapon_return.sma - 3370 views - 5.1 KB)
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 07-30-2011 at 21:31.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
 



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 09:49.


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