PhysicsClient

setCgAtBoundcenter

SET_CG_AT_BOUNDCENTER0xBE520D9761FF811F

The GTA V native SET_CG_AT_BOUNDCENTER of the PHYSICS namespace, as LS:MP client scripts call it: the global function setCgAtBoundcenter, in JavaScript and in Lua.

SignatureJavaScript
setCgAtBoundcenter(entity: Entity): void
SignatureLua
setCgAtBoundcenter(entity: Entity)

Usage

JavaScript
setCgAtBoundcenter(entity);
Lua
setCgAtBoundcenter(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Physics PHYSICS
In the game
void SET_CG_AT_BOUNDCENTER(Entity entity)
Hash
0xBE520D9761FF811F

Open in the interactive natives reference