Перейти к содержанию

Gameplay::getWindDirection

Материал из RAGE MP Wiki Archive
Версия от 09:29, 29 апреля 2024; imported>Shr0x (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets wind direction ===Return value=== *''' {{RageType|Vector3}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getWindDirection(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const windDirection = mp.game.gameplay.getWindDirection(); mp.console.logInfo(`Current wind direction is x: ${windDirection.x} y: ${windDirection.y} z: ${windDirection.z}`); </syntaxhighlight> }} ==See also== {{G...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)