SendClientMesage
#1

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?
Reply
#2

https://sampwiki.blast.hk/wiki/Format
Reply
#3

Код:
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?
Reply
#4

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)