Raised This Month: $89 Target: $400

Colored Radio Messages

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Senior Member
Join Date: Mar 2015
Old 08-14-2019 , 16:38   Colored Radio Messages
Reply With Quote #1

I want to color the radio messages, I was looking for a complement to do it and I found this one, but it doesn't show the messages.

How do I want it to show:
-> TERRORIST 666(RADIO):Follow Me!
-> CT 666(RADIO):Follow Me!

as shown:
-> CT s1(RADIO):s2

PHP Code:
#include <amxmodx>

#define PLUGIN_VERSION "2.0"

public plugin_init()
register_plugin("Colored Radio Messages"PLUGIN_VERSION"OciXCrom @ amxx-bg.info")
register_message(get_user_msgid("TextMsg"), "OnTextMsg")

get_msg_args() != 5)
get_msg_arg_string(3szMsg[0], charsmax(szMsg[]))
get_msg_arg_string(5szMsg[1], charsmax(szMsg[]))
equal(szMsg[0], "#Game_radio") && !equal(szMsg[1], "#Fire_in_the_hole"))
set_msg_arg_string(3"%s1 (RADIO): %s2")


Last edited by 666; 08-14-2019 at 18:07.
666 is offline
Veteran Member
Join Date: Jun 2014
Location: Some Where On Earth
Old 08-14-2019 , 17:52   Re: Colored Radio Messages
Reply With Quote #2

Alber9091 is offline

Thread Tools
Display Modes

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 13:53.

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