setPlayerIsInAnimalForm
SET_PLAYER_IS_IN_ANIMAL_FORM0x4EBB7E87AA0DBED4The GTA V native SET_PLAYER_IS_IN_ANIMAL_FORM of the MISC namespace, as LS:MP client scripts call it: the global function setPlayerIsInAnimalForm, in JavaScript and in Lua.
setPlayerIsInAnimalForm(toggle: boolean): voidsetPlayerIsInAnimalForm(toggle: boolean)Usage
JavaScript
setPlayerIsInAnimalForm(toggle);Lua
setPlayerIsInAnimalForm(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
If toggle is true, the ped's head is shown in the pause menu
If toggle is false, the ped's head is not shown in the pause menu
Reference
- Namespace
- Misc MISC
- In the game
void SET_PLAYER_IS_IN_ANIMAL_FORM(BOOL toggle)- Hash
0x4EBB7E87AA0DBED4- Formerly
_SHOW_PED_IN_PAUSE_MENU_SET_PLAYER_IS_IN_ANIMAL_FORM