MiscClientNot in this build

setContentPropType

_SET_CONTENT_PROP_TYPE0xBA4583AF4C678A9B

The GTA V native _SET_CONTENT_PROP_TYPE of the MISC namespace, as LS:MP client scripts call it: the global function setContentPropType, in JavaScript and in Lua.

SignatureJavaScript
setContentPropType(model: Hash, type: number): void
SignatureLua
setContentPropType(model: Hash, type: integer)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setContentPropType(model, type);
Lua
setContentPropType(model, type)

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger
typeintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void _SET_CONTENT_PROP_TYPE(Hash model, int type)
Hash
0xBA4583AF4C678A9B
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference