14.05.2014, 12:30
(
Последний раз редактировалось AiRaLoKa; 15.05.2014 в 00:55.
Причина: fixed
)
hi all...
can anyone fix my code and then explain to me why it doesn't work?
can anyone fix my code and then explain to me why it doesn't work?
pawn Код:
CMD:color(playerid,params[])
{
new tempcolor[32];
format(tempcolor, sizeof tempcolor, "0x%sFF", params);
strmid(tempcolor, tempcolor, 0, strlen(tempcolor), 32);
SetPlayerColor(playerid, tempcolor[0]);
printf("%s",tempcolor[0]); // for debugging
return 1;
}