Almacenar color hex en variable
#2

un color hex lo puedes guardar y cargar como un int

Код:
new colorojo;
colorojo = 0xFF0000FF;

para mostarlo en un mensaje
new string[50];
format(string, sizeof(string), "El color rojo es {%06x}este", colorojo >>> 8);
SendClientMessageToAll(-1, string);

para cargarlo por ejemplo:
SetPlayerColor(playerid, colorrojo);
Reply


Messages In This Thread
Almacenar color hex en variable - by Ghost112397 - 28.12.2015, 14:26
Respuesta: Almacenar color hex en variable - by FelipeAndres - 28.12.2015, 15:04
Re: Almacenar color hex en variable - by SickAttack - 28.12.2015, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)