Weapon Return

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Weapon Return

Post by greenie »

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:
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

plugin
source
Post Reply

Return to “Gameplay”