23.06.2014, 13:07
Usando un bucle y 'IsPlayerInRangeOfPoint. Serнa maomeno asн:
pawn Код:
foreach(new i: Player) // Si no tienes foreach/y_iterate, lo haces a la manera tradicional.
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
if(IsPlayerInRangeOfPoint(i, 5.0, Pos[0], Pos[1], Pos[2]) && i != playerid)
{
// TextDrawShowForPlayer...
// ApplyAnimation...
}
}