- 0
Chat color
-
Similar Content
-
- 1 reply
- 252 views
-
- 12 replies
- 2,297 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
punisher00
Salut.Este primul meu topic.
Daca este cineva amabil sa ma ajute cu o problema....Vreau la chat-ul normal numele sa apara cu culoarea factiunii iar restul cu alb.Am incercat cu proxdetector in toate felurile si am reusit sa fac doar ca apare una sub alta .
Aceasta este secventa :
if (realchat)
{
if(gPlayerLogged[playerid] == 0)
{
return 0;
}
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), " %s" ":%s", sendername, text);
ProxDetector(20.0, playerid, sendername,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
ProxDetector(20.0, playerid, text,GetPlayerColor(playerid),COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
return 0;
}
Va multumesc !
Link to comment
Share on other sites
2 answers to this question
Recommended Posts