SA-MP Forums Archive
ZCMD Multiple colors? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ZCMD Multiple colors? (/showthread.php?tid=616939)



ZCMD Multiple colors? - sniperx3 - 12.09.2016

Hello there. Im pretty new to pawn, samp and stuff like that, and my new project is some kind of car servis.
When player isnt in his car and he tipes /servis, i want him to get an error, multiple colored error.
I have code, but how can i add multiple color to this?

if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "ERROR: You ain't in a car ");



Re: ZCMD Multiple colors? - Stinged - 12.09.2016

https://sampwiki.blast.hk/wiki/Colour_Embedding

Код:
SendClientMessage(playerid, 0xFF0000FF, "ERROR: {00FFFF}You ain't in a car");



Re: ZCMD Multiple colors? - sniperx3 - 12.09.2016

Thank you