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

Gameplay::setForcePlayerToJump — история изменений

Выбор версий: отметьте версии страницы, которые вы хотите сравнить, и нажмите Enter или кнопку ниже.
Пояснения: (текущ.) — отличия от текущей версии; (пред.) — отличия от предыдущей версии; м — малые изменения.

29 апреля 2024

  • текущ.пред. 16:0016:00, 29 апреля 2024 imported>Shr0x 757 байт +757 Created page with "{{ClientsideJsFunction}} {{JSContainer| Set the player to be forced into jump state, should be called in render as it works per frame. ===Required Params=== *'''handle:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.setForcePlayerToJump(handle) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> let playerJumping = true; //force player to jump mp.events.add('render', (..."