AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Reserved Sprays (https://forums.alliedmods.net/showthread.php?t=107107)

ShadowMoses 10-22-2009 20:06

Reserved Sprays
 
1 Attachment(s)
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.

Antithasys 11-21-2009 02:06

Re: Reserved Sprays
 
current plugin status?

Icettiflow 12-02-2009 16:27

Re: Reserved Sprays
 
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.

ShadowMoses 01-14-2010 13:12

Re: Reserved Sprays
 
Quote:

Originally Posted by Antithasys (Post 994677)
current plugin status?

The plugin works great. No one has had any complaints. Works as intended.

ShadowMoses 01-14-2010 13:13

Re: Reserved Sprays
 
Quote:

Originally Posted by Icettiflow (Post 1005328)
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.

stephengillon 03-11-2010 11:53

Re: Reserved Sprays
 
sorry for the bump but will this work with sv_pure 2

my guess is not but, rather ask before i test.

Bacardi 03-12-2010 09:09

Re: Reserved Sprays
 
Quote:

Originally Posted by stephengillon (Post 1114494)
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.

TnTSCS 12-15-2010 00:24

Re: Reserved Sprays
 
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.

goodBEan 06-03-2012 16:56

Re: Reserved Sprays
 
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?

Bacardi 06-04-2012 07:26

Re: Reserved Sprays
 
Quote:

Originally Posted by goodBEan (Post 1722303)
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"


All times are GMT -4. The time now is 19:50.

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