PedClient

setPedModelIsSuppressed

SET_PED_MODEL_IS_SUPPRESSED0xE163A4BCE4DE6F11

The 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.

SignatureJavaScript
setPedModelIsSuppressed(modelHash: Hash, toggle: boolean): void
SignatureLua
setPedModelIsSuppressed(modelHash: Hash, toggle: boolean)

Usage

JavaScript
setPedModelIsSuppressed(modelHash, toggle);
Lua
setPedModelIsSuppressed(modelHash, toggle)

Parameters

ParameterTypeJavaScriptLua
modelHashHashnumberinteger
toggleBOOLbooleanboolean

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.

Reference

Namespace
Ped PED
In the game
void SET_PED_MODEL_IS_SUPPRESSED(Hash modelHash, BOOL toggle)
Hash
0xE163A4BCE4DE6F11

Open in the interactive natives reference