09.04.2018, 19:05
hello, is it possible to check if the players are close to a certain area of the vehicle? example (wheels, bonnet and other parts) will the one include for this?
It'd take some calculations, but GetVehiclePos then GetVehicleZAngle and IsPlayerInRangeOfPoint GetPlayerFacingAngle could do it if you keep trying in game to see in which point is the player standing according to the position and facing point of the vehicle. (That's how i'd do it)
|