Just tell what is wrong here'
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
if(sscanf(params,"s[64]",text)) SendClientMessage(playerid, cinza, "/x <texto>");
Is not necessary, as you have only one param to pass.
Remove the sscanf line, and replace your format function with this one:

pawn Код:
format(string, sizeof(string), "CHAT: %s [ID: %d]: %s", name, playerid, params);
Then it should work.
At all worked. Thx. But I think problem was on foreach, cuz I replaced for the normal:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
Reply


Messages In This Thread
Just tell what is wrong here' - by blackwave - 13.12.2010, 19:52
Re: Just tell what is wrong here' - by Vince - 13.12.2010, 19:59
Re: Just tell what is wrong here' - by blackwave - 13.12.2010, 20:04

Forum Jump:


Users browsing this thread: 4 Guest(s)