new Pos[3];GetVehiclePos(vehicleid,Pos[0],Pos[1],Pos[2]);if(IsPlayerInRangeOfPoint(playerid,30.0,Pos[0],Pos[1],Pos[2])){your code here}