跳至主要内容

GetPlayerHydraReactorAngle

注意

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

Description

Gets the hydra reactor angle of the player's vehicle.

Parameters

NameDescription
playeridThe ID of the player.

Examples

new reactorAngle = GetPlayerHydraReactorAngle(playerid);

Notes

提示

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.