Raised This Month: $ Target: $400
 0% 

SayText Color Messages


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-22-2007 , 02:17   SayText Color Messages
Reply With Quote #1

Hi,

Here a little script which show color messages in the chat (infinite loop) from a file (configs/messages_list.cfg).
You can specify a map to show a message on this map only. Map can also be a map type.
If none is specified, assume we want to show the message everytime.
  • Color Codes:

    $e = Team Color (red/blue/gray)
    $n = normal color (con_color, default: yellowish)
    $g = green
  • Syntax: "message" "map"

    "$eLook! I'm the same color as your team! $nOooh, pretty classic color! $gYay, I'm green!" "de_dust2"
    "$eGaaaawwwr! $gBleeeeeh!" "de_"
    "$gHello world!"
  • Cvars:

    amx_cm_delay "30" // Specify number of seconds between two messages
  • Screenshots:
    Ct


    Terro


    Spect.

It works fine. But maybe there are some optimisations to do or some bugs to find.
Any comments are welcome.


Thanks for your help!
Attached Files
File Type: cfg messages_list.cfg (562 Bytes, 282 views)
File Type: sma Get Plugin or Get Source (saytext_color_msg.sma - 871 views - 6.9 KB)
__________________

Last edited by Arkshine; 01-22-2007 at 14:23. Reason: Added screenshots
Arkshine 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 22:23.


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