Jump to content
  • 0

pomoc Barva ve formatu


FrOsTy14

Dotaz

Zdravím chtěl bych aby první %s bylo modrou a ostatní barvou hráče.

"%s%s říká:{FFFFFF}%s"
SendClientMessageToAll(GetPlayerColor(playerid), titul);
Edited by FrOsTy14
Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0
if(Jobp == 1){Povolani = "{0019FF}[POLICE]";}
format(titul, sizeof(titul),"%s%s říká:{FFFFFF}%s",Povolani,Hname,text);
SendClientMessageToAll(GetPlayerColor(playerid), titul);

Je to napsané takhle:

[POLICE]Hráč říká:text

a chci to takhle:

[POLICE]Hráč říká:text

Červená bude Hráčova barva.

Link to comment
Share on other sites

  • 0
if(Jobp == 1){Povolani = "{0019FF}[POLICE]";}
format(titul, sizeof(titul),"%s{%06x}%s říká:{FFFFFF}%s",Povolani,GetPlayerColor(playerid) >>> 8,Hname,text);
SendClientMessageToAll(-1, titul);

?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...