Color en format?
#6

pawn Код:
new BornString[16];
format(BornString,sizeof(BornString),"{%h}Color",(GetPlayerColor >>> 8));
SendClientMessage(playerid,-1,BornString);
pawn Код:
const COLOR_ROJO = 0xAA3333AA;
const COLOR_VERDE = 0x33AA33AA;
const COLOR_AMARILLO = 0xFFFF00AA;
const COLOR_NARANJA = 0xFF9900AA;

new BornString[64];
format(BornString,sizeof(BornString),"Blanco{%h}Rojo{%h}Verde{%h}Amarillo{%h}Naranja",(COLOR_ROJO >>> 8),(COLOR_VERDE >>> 8),(COLOR_AMARILLO >>> 8),(COLOR_NARANJA >>> 8));
SendClientMessageToAll(-1,BornString);
Reply


Messages In This Thread
Color en format? - by TiNcH010 - 27.03.2012, 23:03
Re: Color en format? - by BreakDriFT - 27.03.2012, 23:08
Respuesta: Color en format? - by OPremium - 27.03.2012, 23:17
Respuesta: Color en format? - by TiNcH010 - 27.03.2012, 23:51
Respuesta: Color en format? - by Vladeksh - 28.03.2012, 01:02
Re: Color en format? - by ViniBorn - 28.03.2012, 23:23
Respuesta: Color en format? - by TiNcH010 - 28.03.2012, 23:39

Forum Jump:


Users browsing this thread: 2 Guest(s)