Customizing colors in SendClientMessage
#6

Why do you reject using a macro? It does the job fine here.
Код:
#define function(%0,%1,%2)         SendClientMessage(%0, COLOR_WHITE, "{"#%1"}Hello {"#%2"}World!")
// %0 = player
// %1 = color1 -- This format: RRGGBB
// %2 = color2 -- This format: RRGGBB

// Example:
function(playerid, 000000, 00FF00);
Would send this:

Hello World
Reply


Messages In This Thread
Customizing colors in SendClientMessage - by Elie1996 - 04.07.2016, 20:13
Re: Customizing colors in SendClientMessage - by DRIFT_HUNTER - 04.07.2016, 20:36
Re: Customizing colors in SendClientMessage - by Mencent - 04.07.2016, 20:41
Re: Customizing colors in SendClientMessage - by Stinged - 04.07.2016, 21:12
Re: Customizing colors in SendClientMessage - by Elie1996 - 04.07.2016, 21:15
Re: Customizing colors in SendClientMessage - by Stinged - 04.07.2016, 21:33
Re: Customizing colors in SendClientMessage - by SickAttack - 04.07.2016, 21:34
Re: Customizing colors in SendClientMessage - by Elie1996 - 04.07.2016, 23:25
Re: Customizing colors in SendClientMessage - by Elie1996 - 04.07.2016, 23:27
Re: Customizing colors in SendClientMessage - by SickAttack - 05.07.2016, 00:35

Forum Jump:


Users browsing this thread: 1 Guest(s)