CreateGravityWell — RedM Natives
0x4F5EBE70081E5A20 · PED · all
`` 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] ``
Parameters
| Name | Type |
|---|---|
| xPos | float |
| yPos | float |
| zPos | float |
| heading | float |
| radius | float |
| p5 | float |
| p6 | float |
| p7 | float |
| stopAtDestination | BOOL |
Returns
int