SA-MP Forums Archive
SendClientMessage - 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: SendClientMessage (/showthread.php?tid=420869)



SendClientMessage - WiseRice - 07.03.2013

i want a client message to player id
Код:
SendClientMessage(playerid, COLOR_LIGHTCYAN, "The Engine Is Now", COLOR_GREEN, "On!");
i wrote this but 2 warning came up can someone help


Re: SendClientMessage - |MadDog| - 07.03.2013

try this:

Код:
SendClientMessage(playerid, COLOR_LIGHTCYAN, "The Engine Is Now "COLOR_GREEN"On!");



Re: SendClientMessage - WiseRice - 07.03.2013

Nope


Re: SendClientMessage - David (Sabljak) - 07.03.2013

Код:
SendClientMessage(playerid, COLOR_LIGHTCYAN, "The Engine Is Now {55FF00}On!");



Re: SendClientMessage - absolute - 07.03.2013

look at the structure :
Код:
 SendClientMessage(playerid, color, const message[]);
to use multi colours on your text you need to use this structure :

pawn Код:
SendClientMessage(playerid, COLOR_LIGHTCYAN, "The Engine Is Now {33FF00} On!");



Re: SendClientMessage - WiseRice - 07.03.2013

Thanks So Much!!!