Skip to main content

Player::taskCrawl

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

Client-side function

JavaScript​

Summary​

Makes the player crawl on the ground in a prone position.

Syntax​

player.taskCrawl(isOnBack);

Required Parameters​

  • isOnBack: bool - Set to true to crawl on the back, or false to crawl face-down.

Return Value​

  • undefined

Example​

// Make the local player crawl face-down
mp.players.local.taskCrawl(false);
mp.gui.chat.push("The player is now crawling.");