View Single Post
Author Message
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 07-27-2009 , 14:31   [TF2] False Messages 3.1 (21/03)
Reply With Quote #1

False Messages v3.1
A fun tool for admins that lets you trick people in to thinking that they've found an item, or perhaps you want to trick them in to thinking they've lost an item? And why not reward someone with an achievement that doesn't actually exist?

Commands:

sm_fakeitem <name> - 'Give' someone an item (now handled via a menu).
sm_fakelose <name> "Item" - 'Take' an item from someone.
sm_fakeach <name> "Name of Achievement" - 'Give' someone an achievement.
sm_fakecraft <name> "Item" - Craft an item.
sm_vo Message - Fake a voice command message.

CVars:

falsemessages_version - Version of the plugin.
falsemessages_fireworks (1) - Enable the achievement effects when items are found.
falsemessages_losesound (1) - Enable the lose item sound.
falsemessages_textcolor (0) - Non-zero uses the achievement text color (olive) instead of the yellow color for item finds/crafts.
falsemessages_itemflag (a) - Flag required to use item-related commands.
falsemessages_achflag (a) - Flag required to use the fake achievement command.
falsemessages_voflag (a) - Flag required to use the fake voice command.
falsemessages_delay (0) - Non-zero adds a delay between uses of any command.
falsemessages_nodelayflag () - Players with this flag are immune to the delay.

Note: the 'z' flag automatically bypasses any restrictions.

Screenshots:

[IMG]http://img29.**************/img29/5774/fakes2.jpg[/IMG]
[IMG]http://img40.**************/img40/7477/fakes1.jpg[/IMG]

Credit:

BrutalGeorge - the achievement's particle script was adapted from their Kill-Streak Orgasm Script, thanks for that! Also a big thanks for the pointers on fixing the various bugs that have shown up so far.

The killingJoke Servers - for making a fun testing environment.

Changes:

3.0:

  • Fixed all errors.
  • Rewrote plugin.
  • More exciting features planned.

---

That should be everything, attached is the plugin and the source, if anything goes wrong, I recommend first compiling the source in the compiler that came with your version of SourceMod (after that I'll do my best to fix any issues that there may be, but from the testing that I've done the plugin seems to work flawlessly).

Attached Files
File Type: zip falsemessages.zip (19.2 KB, 5131 views)

Last edited by Jindo; 03-22-2010 at 14:27.
Jindo is offline