Saltar al contenido principal

GetVehicleHydraReactorAngle

aviso

Este elemento (función) se añadió en omp v1.1.0.2612 y no funciona en versiones anteriores.

Description​

Gets the hydra reactor angle of the vehicle.

Parameters​

NameDescription
vehicleidThe ID of the vehicle.

Examples​

new reactorAngle = GetVehicleHydraReactorAngle(vehicleid);

Good to know​

nota

The default value is 5000 if the angle hasn’t changed, and 0 if it is fully up. Otherwise, it seems to be returning random values.