#4

Your just formatting one string with some text and reformatting the same one with another variable.

If you want to use the same string but send the message to the player then u would do:

pawn Код:
format(string, sizeof(string), "[CAPTURE] {15FF00}%s{FF0000} has been taken over!", ZoneName(checkpointid));
SendClientMessageToAll(green ,string);
format(string, sizeof(string), "You get {FFFF00}+3 score, +20 armor and $2500{FFFFFF} for capturing zone {15FF00}%s!", ZoneName(checkpointid));
SendClientMessage(playerid, green ,string);
Reply


Messages In This Thread
Hm? - by Eminem 2ka9 - 19.03.2013, 03:21
Re: Hm? - by [ABK]Antonio - 19.03.2013, 03:23
Re: Hm? - by Eminem 2ka9 - 19.03.2013, 03:24
Re: Hm? - by kamzaf - 19.03.2013, 03:26
Re: Hm? - by Eminem 2ka9 - 19.03.2013, 03:31

Forum Jump:


Users browsing this thread: 1 Guest(s)