overridePlayerGroundMaterial
OVERRIDE_PLAYER_GROUND_MATERIAL0xD2CC78CD3D0B50F9The GTA V native OVERRIDE_PLAYER_GROUND_MATERIAL of the AUDIO namespace, as LS:MP client scripts call it: the global function overridePlayerGroundMaterial, in JavaScript and in Lua.
overridePlayerGroundMaterial(hash: Hash, toggle: boolean): voidoverridePlayerGroundMaterial(hash: Hash, toggle: boolean)Usage
JavaScript
overridePlayerGroundMaterial(hash, toggle);Lua
overridePlayerGroundMaterial(hash, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
hash | Hash | number | integer |
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.
Sets audio flag "OverridePlayerGroundMaterial"
Reference
- Namespace
- Audio AUDIO
- In the game
void OVERRIDE_PLAYER_GROUND_MATERIAL(Hash hash, BOOL toggle)- Hash
0xD2CC78CD3D0B50F9