View Single Post
Author Message
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 06-04-2016 , 12:03   [ANY] Admin Sprays Only (29.08.2016)
Reply With Quote #1

Description:
This plugins blocks players from spraying, if you don't have the specified admin flag(cvar).
Spray sound still plays.

Cvars:
PHP Code:
sm_aso_version         // version cvar - do not edit
sm_aso_enabled 1   // enable/disable this plugin. default: "1".
sm_aso_flag "b"         // admin flag needed to be able to spray. default: "b". 
sm_aso_warn 1        // warn the player that he cant spray
sm_aso_warning "You are not allowed to spray" // used as a warning when a player without the admin flag is trying to spray 
Credits:
TheWreckingCrew6 - used some code from Super Spray Handler

Changelog:
Attached Files
File Type: sp Get Plugin or Get Source (AdminSpraysOnly.sp - 1283 views - 2.8 KB)
__________________

Last edited by luki1412; 08-29-2016 at 09:15. Reason: update
luki1412 is offline