Jump to content
  • 0

Problema SetPlayerColor


CraZy

Question

Salut. Am si eu o problema. Cred ca e de la publicul OnPlayerText. Stiti cu totii ca SetPlayerColor iti face numele colorat in chat. Eh, mie nu mi-l face, ramane la fel, adica ALB.

De exemplu, comanda asta trebuie sa imi faca culoarea de la nume ROSIE:

[pawn]CMD:acolor(playerid, params[])

{

SetPlayerColor(playerid, COLOR_RED);

SendClientMessage(playerid, COLOR_RED, "Ti-aischimbat culoarea blaa");

return 1;

}[/pawn]

Mie nu`mi merge, tot alb imi ramane..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Daca iti ramane culoare alba, inseamna ca e definit gresit COLOR_RED.

incearca asta #define COLOR_RED 0xFF0000AA

CMD:acolor( playerid, params[ ] )

return SetPlayerColor( playerid, 0xFF0000AA ) , SendClientMessage( playerid, 0xFF0000AA, "Ti-ai schimbat culoarea !" ) ;

7bdea99b11.png

rimmon curv.

Link to comment
Share on other sites

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.