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

[ALL] Fixed basetriggers.smx


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
404UserNotFound
BANNED
Join Date: Dec 2011
Plugin ID:
3905
Plugin Version:
SOURCEMOD_VERSION
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixed basetriggers.smx, recoded so that sm_ff is now an admin command to prevent players from spamming it.
    Unapprover:
    Reason for Unapproving:
    https://forums.alliedmods.net/showpost.php?p=2034845&postcount=2
    Old 09-14-2013 , 21:03   [ALL] Fixed basetriggers.smx
    Reply With Quote #1

    Introduction
    Some of you who run servers may have had this experience in the past; players spamming the sm_ff command hundreds of times to spam the chat and players' consoles with friendly fire enabled/disabled messages.

    This was a result of the Friendly Fire command being public-access. With the simple changing of "RegConsoleCmd" to "RegAdminCmd", and the addition of the "ADMFLAG_CHEATS" flag, this command can no longer be spammed by players.

    The basetriggers.sp file itself was obtained through the latest SourceMod snapshot, 1.5.2-hg3927.

    This is basically my public-offering of a fix until the SourceMod dev team actually fixes this issue and pushes the change in a future snapshot.
    Attached Files
    File Type: sp Get Plugin or Get Source (basetriggers.sp - 1074 views - 13.0 KB)

    Last edited by asherkin; 04-05-2014 at 03:43.
    404UserNotFound is offline
     



    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 19:56.


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