Raised This Month: $182 Target: $400
 45% 

Reserved Sprays


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ShadowMoses
Junior Member
Join Date: May 2007
Location: Ventura, CA
Plugin ID:
1241
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    16 
    Plugin Description:
    Removes player spray unless they have reserved slot access.
    Old 10-22-2009 , 20:06   Reserved Sprays
    Reply With Quote #1

    Reserved Sprays
    Removes player spray unless they have reserved slot access.

    Made this plugin because I was tired of chasing down bad player sprays constantly. Also it was an added benefit to my members and donators to be able to use their sprays without having to disable sprays all together.

    CVars:
    sm_reservedsprays_version - Reserved sprays version.

    Credits:
    • Thank you to sawce and MatthisVance for help with my [SM] Plugin encountered error 8: Not enough space on the stack for Gaben problem.
    • Lebson506th for his spray trace plugin. Learned how to do temp hooks on entities.
    Installation:
    Place the plugin (.smx) into your ~/addons/sourcemod/plugins folder.

    Changelog:
    • 1.0.0
      • Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (reservedsprays.sp - 1327 views - 1.3 KB)

    Last edited by ShadowMoses; 10-22-2009 at 20:08. Reason: Stupid preview removed my Plugin options.
    ShadowMoses is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 11-21-2009 , 02:06   Re: Reserved Sprays
    Reply With Quote #2

    current plugin status?
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    Icettiflow
    Senior Member
    Join Date: Jan 2009
    Old 12-02-2009 , 16:27   Re: Reserved Sprays
    Reply With Quote #3

    I am going to use this and see how it works. If the author doesn't want to support it and the code is in good shape I might pick it up if he doesn't mind.
    Icettiflow is offline
    ShadowMoses
    Junior Member
    Join Date: May 2007
    Location: Ventura, CA
    Old 01-14-2010 , 13:12   Re: Reserved Sprays
    Reply With Quote #4

    Quote:
    Originally Posted by Antithasys View Post
    current plugin status?
    The plugin works great. No one has had any complaints. Works as intended.
    ShadowMoses is offline
    ShadowMoses
    Junior Member
    Join Date: May 2007
    Location: Ventura, CA
    Old 01-14-2010 , 13:13   Re: Reserved Sprays
    Reply With Quote #5

    Quote:
    Originally Posted by Icettiflow View Post
    I am going to use this and see how it works. If the author doesn't want to support it and the code is in good shape I might pick it up if he doesn't mind.
    I will support this plugin. If you have any suggestions please make them.
    ShadowMoses is offline
    stephengillon
    Member
    Join Date: Oct 2009
    Location: Canada
    Old 03-11-2010 , 11:53   Re: Reserved Sprays
    Reply With Quote #6

    sorry for the bump but will this work with sv_pure 2

    my guess is not but, rather ask before i test.
    __________________
    stephengillon is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: Battlefield 1 fields
    Old 03-12-2010 , 09:09   Re: Reserved Sprays
    Reply With Quote #7

    Quote:
    Originally Posted by stephengillon View Post
    sorry for the bump but will this work with sv_pure 2

    my guess is not but, rather ask before i test.
    If set to 2, the server will force all client files to come from Steam (and it will not load pure_server_whitelist.txt).
    Even there are game own spray's.. there not appears or any.
    Bacardi is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 12-15-2010 , 00:24   Re: Reserved Sprays
    Reply With Quote #8

    Would it be possible to add reserved voice as well?

    Unless someone has the reserved flag, they can't use in-game voice feature.

    Not sure if you can hook the client use mic (or whatever that is called), or if you would just mute all and unmute those who have reserved flag...

    I'll start looking into this as well, but thought I'd pose this idea here first.
    TnTSCS is offline
    goodBEan
    Senior Member
    Join Date: Jul 2010
    Old 06-03-2012 , 16:56   Re: Reserved Sprays
    Reply With Quote #9

    is this plugin still being updated? and is it possible for it be updated so I can set it to a custom flag instead of reserved access?

    Or is a newer better plugin available?

    Last edited by goodBEan; 06-03-2012 at 16:56.
    goodBEan is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: Battlefield 1 fields
    Old 06-04-2012 , 07:26   Re: Reserved Sprays
    Reply With Quote #10

    Quote:
    Originally Posted by goodBEan View Post
    is this plugin still being updated? and is it possible for it be updated so I can set it to a custom flag instead of reserved access?

    Or is a newer better plugin available?
    You could edit
    Code:
    		if(GetAdminFlag(GetUserAdmin(client), Admin_Reservation))
    			return Plugin_Continue;
    to
    Code:
    		if(CheckCommandAccess(client, "sm_reservedsprays", ADMFLAG_RESERVATION))
    			return Plugin_Continue;
    Then you can override adminflag with command "sm_reservedsprays"
    Bacardi 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 18:32.


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