16.03.2019, 02:40
Quote:
Continuou o mesmo problema amigo, sу a mensagem sem o id e nome
![]() OBS: Й pra samp android |
PHP Code:
static Float:cPos[3];
GetPlayerPos(playerid, cPos[0], cPos[1], cPos[2]);
new string[128];
for(new i, j = GetPlayerPoolSize(); i <= j; i ++ )
{
if(IsPlayerInRangeOfPoint(i, 100.0, cPos[0], cPos[1], cPos[2]))
{
if(IsPlayerConnected(i))
{
format(string, sizeof(string), "[%d] %s diz: %s", playerid, ReturnName(playerid), text);
SendClientMessage(i, -1, string);
}
}
}
return 0;
}