07.12.2010, 18:03
do it like:
you need to add what should happen yourself:P
Код:
new range[MAX_PLAYERS] = -1; for(new v=0; v<MAX_VEHICLES; v++){ new Float:x, Float:y, Float:z; GetVehiclePos(v, x, y, z); if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z)){ range[playerid] = v; } } }