Raised This Month: $ Target: $400
 0% 

Spray Management


Post New Thread Reply   
 
Thread Tools Display Modes
`666
AlliedModders Donor
Join Date: Jan 2006
Old 07-14-2008 , 15:12   Re: Spray Management
Reply With Quote #21

fakemeta please? for karma
`666 is offline
justincase
Senior Member
Join Date: Dec 2008
Old 02-19-2009 , 07:09   Re: Spray Management
Reply With Quote #22

Quote:
Originally Posted by Eternal Howl View Post
This plugin does not work on my TFC server. There is no way to ban a player from spraying. All it does is force a player TO spray. Since my decalfrequency command variable on my server is set to 0, this plugin is not only broken, but on my server it is also useless.
I'm getting this problem as well.. I can't ban them from spraying.. instead this is what happens..

If I'm looking at the ground and then drop down console and type in:
amx_spray lamer 0
instead of banning lamer from spraying, it will spray lamer's spray at my feet.

How to fix this(btw amx_spray playername would be an excellent way to cycle through all the player's sprays one at a time to see who had the offensive spray esp if you werent using the SprayID plugin)?
Should there be a different cmd to block spraying?
justincase is offline
justincase
Senior Member
Join Date: Dec 2008
Old 02-19-2009 , 07:13   Re: Spray Management
Reply With Quote #23

I suspect the reason why I can't ban players from spraying is because im using teh sprayid plugin as well and it registers amx_spray as well so theres a naming conflict... Perhaps the spray management plugin shld register amx_spraymgmt instead??
justincase is offline
justincase
Senior Member
Join Date: Dec 2008
Old 02-19-2009 , 07:44   Re: Spray Management
Reply With Quote #24

My suspicions were correct. Both Spray Management and Spray ID were both registering the same client command:
amx_spray

Spray ID:
http://forums.alliedmods.net/showthread.php?t=6067
is a great companion plugin to Spray Management only if they use different commands. As such I have modifed the source to Spray Management and renamed amx_spray to:
amx_spraymgmt

Usage:
* amx_spraymgmt <Name> <0/1>
0 disallows them to spray
1 allows them to spray

P.S. Where is manage attachments???

Last edited by justincase; 02-19-2009 at 07:50.
justincase is offline
justincase
Senior Member
Join Date: Dec 2008
Old 02-19-2009 , 07:53   Re: Spray Management
Reply With Quote #25

For some reason I could only attach it to a new post, so here is the modified Spray Management plugin so that it works together with Spray ID plugin.
Attached Files
File Type: sma Get Plugin or Get Source (spray_mgmt.sma - 626 views - 3.0 KB)
justincase is offline
justincase
Senior Member
Join Date: Dec 2008
Old 03-11-2009 , 23:23   Re: Spray Management
Reply With Quote #26

For some reason, the original authors had the logic reversed. As such I updated it so that it made sense:

Usage:
* amx_spraymgmt <Player> <1-Stop spraying | 0-Allow spraying>
Attached Files
File Type: sma Get Plugin or Get Source (spray_mgmt.sma - 708 views - 3.0 KB)
justincase is offline
RasterMan
Senior Member
Join Date: Mar 2004
Location: Luton, UK
Old 03-14-2009 , 06:45   Re: Spray Management
Reply With Quote #27

This is a nice plugin but how about adding cvars which either allows/disallows all spays as it's annoying to have to stop individual players from spraying when It would be easier to stop all!
__________________
RasterMan is offline
Send a message via MSN to RasterMan
justincase
Senior Member
Join Date: Dec 2008
Old 04-19-2009 , 16:04   Re: Spray Management
Reply With Quote #28

Well I'm not the original author of this plugin, I just fixed it to work with SprayID plugin as well as fix the logic.

As for stopping all players spraying, perhaps you could achieve the same thing using "decalfrequency". Perhaps try -1 or set a real massive number so that can only spray like once per day.
justincase is offline
justincase
Senior Member
Join Date: Dec 2008
Old 04-19-2009 , 16:05   Re: Spray Management
Reply With Quote #29

It would be nice if this plugin maintained a list of people who you have disallowed spraying from. It seems to reset between maps.
justincase is offline
Duffnexter
Senior Member
Join Date: Aug 2009
Old 10-12-2009 , 03:07   Re: Spray Management
Reply With Quote #30

is it passible to block all spray? like lets say no one is able to spray
__________________
Duffnexter is offline
Send a message via MSN to Duffnexter Send a message via Skype™ to Duffnexter
Reply



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 03:25.


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