03.08.2013, 23:20
you didn't understand me ..
i need function for color change, check the code ;
i need function for color change, check the code ;
Код:
if(engine == 0) { format(ES,sizeof(ES),"~r~o"); TextDrawSetString(motor, ES); SetTextDrawColor(kmhstatus, -1061109505); SetTextDrawColor(gorivostatus, -1061109505); SetTextDrawColor(gpsstatus, -1061109505); } else { format(ES,sizeof(ES),"~g~o"); TextDrawSetString(motor, ES); SetTextDrawColor(kmhstatus, 16777215); SetTextDrawColor(gorivostatus, 16777215); SetTextDrawColor(gpsstatus, 2474495); } }