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.
JavaScript
Summary
Makes the player crawl on the ground in a prone position.
Syntax
player.taskCrawl(isOnBack);
Required Parameters
- isOnBack: bool - Set to
trueto crawl on the back, orfalseto 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.");