AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Chat Color (https://forums.alliedmods.net/showthread.php?t=272855)

LifeStone 10-07-2015 19:41

Chat Color
 
1 Attachment(s)
Im using HideNSeek XP Mod and i want to use some colors at the messages like the picture

http://i.imgur.com/ZjMhJr0.jpg
I did some changes watch down but nothing happened :/
What is going wrong ?

Code:

Print(client, "You received your %s! (%i%% chance)", g_nade_names[i], percent);
Code:

Print(client, "You received your ^3%s! (%i%% chance)", g_nade_names[i], percent);
i use and that "#include <chatcolor>" but i got many errors when i did compile

nico_barrera 10-11-2015 04:04

Re: Chat Color
 
Warning: Recursive Function on this line:-

Quote:

strbreak(data, num, sizeof(num) - 1, data, sizeof(data) - 1);
you are using data 2 times i think


All times are GMT -4. The time now is 22:17.

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