Hey Rival Gamers
As many of you who code RPC may noticed there are Natives that used by Pointer Mostly they are Bool Natives that writes what ever to Pointer if Bool returned as True
The point is pointers are usual made for C/C++
there is way to use pointers in C# using Unsafe code but this is not good and will not work with these natives
i will show you how to use them in RPC/C# codding
Pointer Natives Example
1. GET_GROUND_Z_FOR_3D_COORD // Has Float Pointer
2. GET_PED_LAST_WEAPON_IMPACT_COORD Has Vector3 Pointer
There are more natives like this but you will get the point
Tutorial Float Pointer:
Float Pointer using GET_GROUND_Z_FOR_3D_COORD Native
[HIDE][html]
uint Pointer_Adress = 0x10070000; // just free space in Ps3 Ram/Memory we use to write pointer return to
if (Hook.Call("GET_GROUND_Z_FOR_3D_COORD", coords, Pointer_Adress) == true)
{
float Ground_Z = PS3.Extension.ReadFloat(Ground_Z_Pointer_Adress); // thats how we read pointer Return 😛
}
Thats it for Float pointer
[/html][/HIDE]
Will Be adding Vector3 Pointer TUTORIAL soon as i get time to figure it out