warning 202
#10

Quote:
Originally Posted by Mamal75
Посмотреть сообщение
are you trying to send a formated message with SendClientMessage ? !!!!!!
you have to format it !!

Note: Add colores if you want !

pawn Код:
new string[128];
format(string,sizeof(string),"[SERVER]:Ulogiran si kao Admin %d", PlayerInfo[playerid][pAdmin]);
SendClientMessage(playerid,~0,string);
Exactly what I was thinking. Using format specifiers in a SendClientMessage will end up crashing the client to whom the SendClientMessage is shown.
Reply


Messages In This Thread
warning 202 - by TiXz0r - 11.10.2014, 10:48
Re: warning 202 - by YanLanger - 11.10.2014, 10:49
Re: warning 202 - by Rudy_ - 11.10.2014, 10:55
Re: warning 202 - by TiXz0r - 11.10.2014, 11:02
Re: warning 202 - by YanLanger - 11.10.2014, 11:08
Re: warning 202 - by TiXz0r - 11.10.2014, 11:16
Re: warning 202 - by Rudy_ - 11.10.2014, 11:20
AW: warning 202 - by Macronix - 11.10.2014, 11:24
Re: warning 202 - by Mamal75 - 11.10.2014, 11:26
Re: warning 202 - by AndySedeyn - 11.10.2014, 13:24

Forum Jump:


Users browsing this thread: 2 Guest(s)