setMobilePhoneDofState
SET_MOBILE_PHONE_DOF_STATE0x375A706A5C2FD084The GTA V native SET_MOBILE_PHONE_DOF_STATE of the MOBILE namespace, as LS:MP client scripts call it: the global function setMobilePhoneDofState, in JavaScript and in Lua.
setMobilePhoneDofState(toggle: boolean): voidsetMobilePhoneDofState(toggle: boolean)Usage
JavaScript
setMobilePhoneDofState(toggle);Lua
setMobilePhoneDofState(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Mobile phone MOBILE
- In the game
void SET_MOBILE_PHONE_DOF_STATE(BOOL toggle)- Hash
0x375A706A5C2FD084- Introduced
- Game build 372 legacy numbering
- Formerly
_SET_MOBILE_PHONE_UNK