03.11.2012, 03:33
pawn Код:
public OnPlayerText(playerid, text[])
{
new str[128];
format(str, sizeof(str), "%s fala: %s", ReturnUser(Name), text[0]);
for (new d = 0; r < MAX_PLAYERS; d++)
{
if(IsPlayerConnected(d))
{
if(IsPlayerInRangeOfPoint(d, 10.0, x, y, z))
{
SendClientMessage(d, -1, str);
}
}
return 0;
}
return 1;
}
E quando eu tiro o return 0;, apareзe pra todos(normal), porйm a frase repete.
Alguem ajuda.