View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 06-27-2011 , 18:12   [TF2] 2Free2Spray
Reply With Quote #1

[TF2] 2Free2Spray
Version 1.1.0



Description:
This plugin simply disables sprays for Free2Play players.
I wrote this because I noticed a disproportionally large number of porn sprays were showing up from people with F2P accounts.

Commands:
  • None

Cvars:
  • sm_nofreesprays_version
    • Plugin Version
  • sm_2f2s_chatnotice
    • Enable/Disable the 'you cannot spray' message shown to free players when they attempt to spray.
    • Default: 1 (Enabled)

Install Instructions:

    1. Install SteamTools
    2. Place 2Free2Spray.smx into your addons/sourcemod/plugins/ folder.

Notes:
  • SteamTools only gets data on player's when they connect. For this reason, late-loading the extension will cause all players to read as premium until they reconnect.
  • Credits to Free2BeKicked and Reserved Sprays which this is based on.


Version History:
  • V1.0.0
    • Initial Release
  • V1.1.0
    • Added a cvar to disable the chat notice.
Total downloads as prior to last edit: 29

Plugin will not compile on the forums due to custom includes! Download the .smx or compile it yourself locally!
Attached Files
File Type: sp Get Plugin or Get Source (2Free2Spray.sp - 482 views - 1.4 KB)
File Type: smx 2Free2Spray.smx (3.1 KB, 789 views)
__________________

Last edited by DarthNinja; 02-10-2012 at 04:04.
DarthNinja is offline