Jump to content
  • 0

Chat color


punisher00

Question

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.