Gameplay::setForcePlayerToJump: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 April 2024

  • curprev 16:0016:00, 29 April 2024Shr0x talk contribs 757 bytes +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', (..."