24.02.2015, 09:42
ummm...i didnt really understand u...by u actually mean colour embedding...if m not wrong... ill explain what all i know... u may check samp.wiki its the main source of help... ok look... i had this problem too but i learnt all by myself.
For the client message which will appear on the chat... u have to use the hex colours... their Format is RRGGBBAA... and u have to cover them with curly brackets.. for example i want to send a play message that u are an idiot..
SendClientMessage(playerid, -1,"{FF0000}You are a fucking idiot");
this will send him a message in red colour... the '-1' after playerid is the shorter way of writing color white... if u want multiple colors then it ll go like..
"{FF0000}Red Shit.{FFFF00}Now Yellow?" it ll appear first red then yellow...
and the colour embedding of textdraw and gametext are same but different than sendclientmessage...
Like they need to be within the ~ for example for red colour..
~r~Red~w~White... if the red color is dark u can apply ~h~ it ll lighten the color...tho using it a lot will make text white...
For the client message which will appear on the chat... u have to use the hex colours... their Format is RRGGBBAA... and u have to cover them with curly brackets.. for example i want to send a play message that u are an idiot..
SendClientMessage(playerid, -1,"{FF0000}You are a fucking idiot");
this will send him a message in red colour... the '-1' after playerid is the shorter way of writing color white... if u want multiple colors then it ll go like..
"{FF0000}Red Shit.{FFFF00}Now Yellow?" it ll appear first red then yellow...
and the colour embedding of textdraw and gametext are same but different than sendclientmessage...
Like they need to be within the ~ for example for red colour..
~r~Red~w~White... if the red color is dark u can apply ~h~ it ll lighten the color...tho using it a lot will make text white...