Raised This Month: $ Target: $400
 0% 

[Any] "[SM]" Prefix changer! UPDATE: March 22, 2013


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Mitchell
~lick~
Join Date: Mar 2010
Plugin ID:
3015
Plugin Version:
0.32
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    7970 
    Plugin Description:
    Replaces that boring ol' [SM] Chat prefix!
    Old 06-15-2012 , 01:18   [Any] "[SM]" Prefix changer! UPDATE: March 22, 2013
    Reply With Quote #1

    Description:
    Changes the default "[SM]" prefix, with random colors, or a defined color.

    Credits:
    Base code made by: Bacardi

    TODO:

    Nothing?

    Install:
    • Throw the .SMX in the plugins folder.
    • Read below!

    CONFIG:
    •Edit sm_textcolors.cfg to your liking, there is already an example of what it should look like in the file.
    (Make sure it has the & and the * tags.)
    & is a shortcut to \x07
    * is a shortcut to \x08

    All codes must be in hex.
    •place sm_textcolors.cfg into your config folder.
    should look like:
    Code:
    *AAAAAAAA[*FFFFFFAASM*AAAAAAAA]&FFFFFF
    *AAAAAAAA[*FFFFFFAASM*AAAAAAAA]&FF0000
    *AAAAAAAA[*FFFFFFAASM*AAAAAAAA]&00FF00
    *AAAAAAAA[*FFFFFFAASM*AAAAAAAA]&0000FF
    By default if only one color is in the text it wont choose a random color, duh.
    But i added a cvar just cause.


    CVARS:
    Code:
    // Uses random colors that you defined. 1- random 0-Default
    // -
    // Default: "1"
    sm_textcol_random "1"
    READ BEFORE POSTING:
    I currently am aware that this is a bad way to replace text in sourcemod, but i think it might come in handy if a server owner wants some more color in his server.

    Change Log:
    Spoiler
    Spoiler


    Attached Files
    File Type: cfg sm_textcolors.cfg (158 Bytes, 4443 views)
    File Type: sp Get Plugin or Get Source (sm_defaulttextreplace.sp - 5796 views - 3.8 KB)
    File Type: sp Get Plugin or Get Source (sm_defaulttextreplace_csgo.sp - 1943 views - 4.4 KB)

    Last edited by Mitchell; 09-11-2015 at 16:52.
    Mitchell 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 02:53.


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