Raised This Month: $12 Target: $400
 3% 

[TF2] 2Free2Spray


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2403
Plugin Version:
1.1.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Disables sprays for Free2Play players.
    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 - 477 views - 1.4 KB)
    File Type: smx 2Free2Spray.smx (3.1 KB, 785 views)
    __________________

    Last edited by DarthNinja; 02-10-2012 at 04:04.
    DarthNinja is offline
    Pawn 3-pg
    Senior Member
    Join Date: Jul 2009
    Old 06-27-2011 , 18:32   Re: [TF2] 2Free2Spray
    Reply With Quote #2

    Brilliant idea. Thanks.
    Pawn 3-pg is offline
    jake84
    Senior Member
    Join Date: Jun 2010
    Location: CA
    Old 06-27-2011 , 18:32   Re: [TF2] 2Free2Spray
    Reply With Quote #3

    lol. this is just getting better and better
    jake84 is offline
    Ginxeng
    Senior Member
    Join Date: Nov 2009
    Location: Timber Doodle
    Old 06-28-2011 , 05:01   Re: [TF2] 2Free2Spray
    Reply With Quote #4

    lol now make one that disables voicechat from freeplayers as well as as the option to call for medic...
    __________________
    Ginxeng is offline
    Send a message via AIM to Ginxeng Send a message via MSN to Ginxeng Send a message via Skype™ to Ginxeng
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 06-28-2011 , 08:56   Re: [TF2] 2Free2Spray
    Reply With Quote #5

    Quote:
    Originally Posted by Ginxeng View Post
    lol now make one that disables voicechat from freeplayers as well as as the option to call for medic...
    this would be the best!!
    btw, this plugin is so USEFUL! thx a lot!!!
    napalm00 is offline
    λlsnana(H λ l f l i f e)
    Member
    Join Date: Jun 2010
    Old 06-28-2011 , 16:16   Re: [TF2] 2Free2Spray
    Reply With Quote #6

    THANKS! i was getting tired of people that keeps SPRAYING
    __________________
    Today's the day!
    λlsnana(H λ l f l i f e) is offline
    Send a message via MSN to λlsnana(H λ l f l i f e)
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 06-28-2011 , 18:01   Re: [TF2] 2Free2Spray
    Reply With Quote #7

    Quote:
    Originally Posted by Ginxeng View Post
    lol now make one that disables voicechat from freeplayers as well as as the option to call for medic...
    I already wrote that actually.
    __________________
    DarthNinja is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 06-28-2011 , 22:26   Re: [TF2] 2Free2Spray
    Reply With Quote #8

    Version 1.1.0 released - adds a new cvar:
    Quote:
    • V1.1.0
      • Added a cvar to disable the chat notice.
    __________________
    DarthNinja is offline
    meecrob
    Senior Member
    Join Date: Jan 2010
    Old 07-05-2011 , 22:06   Re: [TF2] 2Free2Spray
    Reply With Quote #9

    This is totally awesome. Thanks!
    __________________
    meecrob is offline
    JasonGauthierDK
    Member
    Join Date: Jun 2010
    Old 07-16-2011 , 10:47   Re: [TF2] 2Free2Spray
    Reply With Quote #10

    A Free2Play player on my server noticed a little typo:
    Quote:
    Sorry! Only premimum players can use sprays!
    Also, great plugin DarthNinja!
    JasonGauthierDK is offline
    Reply


    Thread Tools
    Display Modes

    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 06:49.


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