Using Pointer Nativ...
 
Notifications
Clear all

Using Pointer Natives In RPC/C#

Page 2 / 2

KranK
Posts: 336
Topic starter
(@KranK)
Reputable Member
Joined: 9 years ago

Yo gee have you found a way to store Vector3 coords? its not working when reading floats

float[] numArray = new float[3];
if (Hook.Call("GET_PED_LAST_WEAPON_IMPACT_COORD", MyPedID, 0x10070000))
{
numArray[0] = PS3.Extension.ReadFloat(0x10070000); //X
numArray[1] = PS3.Extension.ReadFloat(0x10070004); //Y
numArray[2] = PS3.Extension.ReadFloat(0x10070008); //Z
}

Impact coords is stupid native couldnt make it work in rpc

Reply
Page 2 / 2