09.03.2013, 21:25
pawn Код:
//topo
static vehiclePos[MAX_VEHICLES][3];
const Float:pulseRadius = 10.0;
//codigo
for(new i = 0; i < MAX_VEHICLES; i++)
{
GetVehiclePos(i, vehiclePos[i][0], vehiclePos[i][1], vehiclePos[i][2]);
if(IsPlayerInRangeOfPoint(playerid, pulseRadius, vehiclePos[i][0], vehiclePos[i][1], vehiclePos[i][2]))
{
...
}
}