View Single Post
Author Message
404UserNotFound
BANNED
Join Date: Dec 2011
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 - 1076 views - 13.0 KB)

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