SendClientMessageToAll
#2

Because you firstly send the string to everyone as a client message(empty string) and only then formatting it.
Switch the lines:
pawn Код:
format(string, sizeof(string), "%s has completed the parkour mission and received 500000$",name);
     SendClientMessageToAll(COLOR_RED, string);
     return 1;
}
Reply


Messages In This Thread
SendClientMessageToAll - by FireCat - 28.08.2010, 10:05
Re: SendClientMessageToAll - by [XST]O_x - 28.08.2010, 10:08
Re: SendClientMessageToAll - by FireCat - 28.08.2010, 10:10

Forum Jump:


Users browsing this thread: 1 Guest(s)