RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _CREATE_GRAVITY_WELL

_CREATE_GRAVITY_WELL

Creates a handle to an instance of "CScriptResource_GravityWell", this system forces local ped to target specified position when moving, however player still can interrupt this. Can be useful to "point" player at some specific position. Only works while on-foot. _CREATE_[P-Z]

PEDBuild 1207

Signature

lua
CreateGravityWell(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true)
-- returns int

Parameters

NameTypeDescription
float—
float—
float—
float—
float—
float—
float—
float—
BOOL—

Usage

lua
CreateGravityWell(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true)

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

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details