Raised This Month: $12 Target: $400
 3% 

[ANY] Admin Sprays Only (29.08.2016)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Plugin ID:
5225
Plugin Version:
1.25
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    19 
    Plugin Description:
    Only admins are allowed to spray.
    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 - 1282 views - 2.8 KB)
    __________________

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


    Thread Tools
    Display Modes

    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 11:31.


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