Native referenceRedMserver

FREEZE_ENTITY_POSITION

0x65C16D57 CFX
FUNCTION SIGNATURE
void FREEZE_ENTITY_POSITION(Entity entity, BOOL toggle);
Property Value
Native Name FREEZE_ENTITY_POSITION
Hash 0x65C16D57
Return Type void
API Set server
Parameters entity (Entity), toggle (BOOL)

Description: Freezes or unfreezes an entity preventing its coordinates to change by the player if set to true. You can still change the entity position using SET_ENTITY_COORDS.

This is the server-side RPC native equivalent of the client native FREEZE_ENTITY_POSITION.

Parameters

  • entity (Entity) — The entity to freeze/unfreeze.
  • toggle (BOOL) — Freeze or unfreeze entity.
Back to CFX