RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. FREEZE_ENTITY_POSITION

FREEZE_ENTITY_POSITION

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`](#\_0x06843DA7060A026B). **This is the server-side RPC native equivalent of the client native [FREEZE_ENTITY_POSITION](?\_0x428CA6DBD1094446).**

CFX

Signature

lua
FreezeEntityPosition(entity, true)
-- returns void

Parameters

NameTypeDescription
EntityThe entity to freeze/unfreeze.
BOOLFreeze or unfreeze entity.

Usage

lua
FreezeEntityPosition(entity, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details