
public static void SetWayPoint(uint Index, int Shader, float[] Origin, decimal Client = 0x7FF, bool OnScreen = true, decimal R = 255, decimal G = 255, decimal B = 255, decimal A = 255)
{
uint Element = 0xF0E10C + (Index * 0xB4);
WriteByte(Element + 0x3, 0xD);
WriteFloatArray(Element + 0x4, Origin);
WriteInt(Element + 0x10, (int)Client);
PS3.SetMemory(Element + 0x30, new byte[] { (byte)R, (byte)G, (byte)B, (byte)A });
WriteByte(Element + 0x4F, (byte)Shader);
if (OnScreen == true)
WriteByte(Element + 0xA7,
;
else
WriteByte(Element + 0xA7, 0);
for (uint i = 0; i < 32; i++)
{
if (ReadByte(0xF3B1A3 + (0x24 * i)) == 0)
{
uint MapElement = 0xF3B1A0 + (0x24 * i);
WriteByte(MapElement + 0x3, 1);
WriteFloatArray(MapElement + 0x4, Origin);
WriteInt(MapElement + 0x10, (int)Client);
PS3.SetMemory(MapElement + 0x18, new byte[] { (byte)R, (byte)G, (byte)B, (byte)A });
WriteByte(MapElement + 0x23, (byte)Shader);
break;
}
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.