03.11.2012, 03:43
(
Последний раз редактировалось Nill.Oliveira; 03.11.2012 в 04:14.
)
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; // ignorar o texto padrгo e enviar a uma mensagem costumizada.
}
}
return 0;
}
return 1;
}