Hello i release the GivePlayerWeapon for 1.12
Put this in your form
public static class Conversions
{
public static uint G_Client = 0xF44400;
public static byte[] ReverseBytes(byte[] input)
{
Array.Reverse(input);
return input;
}
}
And next put this in your form
private void GiveWeapon(int client, int weapon, int ammo, int akimbo)
{
CallFunction(0x292B5C, (uint)(Conversions.G_Client + (client * 0x3700)), weapon, akimbo);
CallFunction(0x2470FC, (uint)(Conversions.G_Client + (client * 0x3700)), weapon, 0, ammo, 1);
CallFunction(0x69A3F4, client, 0, "a \"" + weapon + "\"");
}
//0x292B5C- G_GivePlayerWeapon Offset
//0x2470FC- Add_Ammo Offset
//0x69A3F4- SV Offset
//0x3700 - Index/Intervnal
How tu use this ?
GiveWeapon(0, (weapon id here), 999, 0);
Credit :
- ZeroNGU's
- And me for upating
Thanks Bro, You saved my day, Been trying to update this since 1.12 came out =3