15.02.2011, 18:16
How i can to get in rage of point what vehicle is, if it is...
stock CheckPlayerDistanceToVehicle(Float:rad, playerid, vehicleid)
{
new Float:vx, Float:vy, Float:vz;
GetVehiclePos(vehicleid, vx, vy, vz);
if(IsPlayerInRangeOfPoint(playerid, rad, vx, vy, vz)) return 1;
return 0;
}