Quote:
Originally Posted by Lebson506th
There is a CVAR you can set that is built in to the source engine that disables sprays.
It doesn't display a message, but it doesn't allow sprays to show.
I'm not sure exactly what the CVAR is though. I think its about decals or something similar.
|
Thanks for the reply. We had a really bad rash of porn sprayers come through the other night where 3 admins basically spent all their time removing the sprays, banning the players, etc. pretty much ruined the gaming for us admins.
I had just put the plugin on the server that day or possibly the night before so wasn't quite familiar with it yet. We banned the players first then tried to remove the spray and that didn't work. I came back and read through the info here and apparently we should have just used the Remove Spray option and THEN banned them.
For now we've just set sv_allowupload to 0 to stop players from uploading their sprays, and purged the downloads/ cache dirs on all the servers.
I did a 'cvarlist' and grepped it for 'decal' because I thought there was a command for that too, something like sv_showplayerdecals or something, but if there ever was it doesn't appear to be there anymore.
Anyway thanks for the reply. With a little better understanding of how to use the plugin's features we'll probably start allowing sprays again soon.
I'll look and see if I can find what function would need to be hooked to stop a player spray. Pretty new to Sourcemod coding stuff.
Thanks again,
PharaohsPaw