setPedModelIsSuppressed
SET_PED_MODEL_IS_SUPPRESSED0xE163A4BCE4DE6F11The GTA V native SET_PED_MODEL_IS_SUPPRESSED of the PED namespace, as LS:MP client scripts call it: the global function setPedModelIsSuppressed, in JavaScript and in Lua.
setPedModelIsSuppressed(modelHash: Hash, toggle: boolean): voidsetPedModelIsSuppressed(modelHash: Hash, toggle: boolean)Usage
JavaScript
setPedModelIsSuppressed(modelHash, toggle);Lua
setPedModelIsSuppressed(modelHash, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
modelHash | 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.
Full list of peds by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/peds.json
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_MODEL_IS_SUPPRESSED(Hash modelHash, BOOL toggle)- Hash
0xE163A4BCE4DE6F11