View Single Post
Author Message
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-03-2012 , 12:22   [ANY] Ban Player's Spray
Reply With Quote #1

This plugin will give admins the ability to permanently ban a player's ability to use the in-game spray function. Once banned, a player will not be able to spray anymore until an admin unbans them.

Admin can also view the ban list of currently connected players. Players can also view a menu to check the status of their spray ban status.

New in, ability to use SteamID in command to ban sprays when player isn't online.

New in, basic spray on spray protection with cvar sm_banedsprays_protection


sm_settings (this is a SM command)
- This is what players will use to check the status of their ban


The plugin is compiled to have admins with the ban flag able to use the commands. You can override the command "AllowSprayTrace" to be whatever you want.

Change Log

A few include files if you wish to manually compile.

Known Issues:
None that I'm aware of

All player's ability to use a spray before cookies are cached are restricted (this usually is not a problem, just wanted to let you know). There is now a CVar so you can determine the ability of using sprays before cookies are cached (defaulted to NOT allow sprays).

For now, just drop the .smx in your sourcemod/plugins folder. I will be adding a translation file later on so this can get approved. I wasn't planning on releasing this plugin, but I've seen a few requests for it lately.I've updated this plugin as of to have a translation file, make sure you place that in your translations folder.
Attached Files
File Type: txt ban_player_sprays.phrases.txt (1.8 KB, 771 views)
File Type: sp Get Plugin or Get Source (ban_player_sprays.sp - 410 views - 35.7 KB)
File Type: smx ban_player_sprays.smx (28.1 KB, 508 views)
View my Plugins | Donate

Last edited by TnTSCS; 01-21-2015 at 12:14. Reason: Update from to
TnTSCS is offline