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



SendClientMesage - Anak - 21.03.2013

hello can do like

pawn Код:
//if
#define SKYDIVE_SECONDS 5
SendClientMessage(playerid , COLOR_YELLOW, "%d seconds have been passed. You have started to skydive." SKYDIVE_SECONDS);

so it will appear as..
Код:
5 seconds have been passed. You have started to skydive.
any help?


Re: SendClientMesage - Konstantinos - 21.03.2013

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


Re: SendClientMesage - kiloman3 - 21.03.2013

Код:
new SKY_S[62];
new SKYDIVE_SECONDS = 5;
format(SKY_S, sizeof(SKY_S), "%d seconds have been passed. You have started to skydive.", SKYDIVE_SECONDS);

SendClientMessage(playerid , COLOR_YELLOW, SKY_S);
Maybe?


Re: SendClientMesage - SuperViper - 21.03.2013

pawn Код:
SendClientMessage(playerid, COLOR_YELLOW, #SKYDIVE_SECONDS" seconds have been passed. You have started to skydive.");



Re: SendClientMesage - kiloman3 - 21.03.2013

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
pawn Код:
SendClientMessage(playerid, COLOR_YELLOW, #SKYDIVE_SECONDS" seconds have been passed. You have started to skydive.");
I like how that looks.