19.03.2013, 03:26
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:
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);

