GTA V match
PHYSICS::GET_CGOFFSET
0x585CC9ED7DEB5B4A ·RVA 0x044FED00
Signature
Vector3 GET_CGOFFSET(Entity entity);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
Returns
Vector3
Call it
// PHYSICS::GET_CGOFFSET
auto result = invoke<Vector3>(0x585CC9ED7DEB5B4A, entity);// PHYSICS::GET_CGOFFSET
Vector3 result = Function.Call<Vector3>((Hash)0x585CC9ED7DEB5B4A, entity);-- PHYSICS::GET_CGOFFSET
local result = Citizen.InvokeNative(0x585CC9ED7DEB5B4A, entity)// PHYSICS::GET_CGOFFSET
const result = Citizen.invokeNative("0x585CC9ED7DEB5B4A", entity);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.