Post: GivePlayerWeapon 1.16 C#
04-19-2014, 08:07 AM #1
ByteSource
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); can anyone send me the script to give a player weapon? I've tried 6 different ways and i keep freezing! thanks

By script i mean
private/Public void GiveWeapon(int i,.....)
{

}
(adsbygoogle = window.adsbygoogle || []).push({});
04-19-2014, 09:26 AM #2
i_iTop_i
NextGenUpdate Elite
ok use this bro

Be sure to numericUpDown1 & textBox1

    private void SpawnTurret(int client, string weaponIndex)
{
BO2.RPC.Call(0x0020BD60, 0x016B7920 + (client * 0x580Cool Man (aka Tustin), weaponIndex);
BO2RPC.Call(0x0020BD60, 0x016B7920 + (client * 0x580Cool Man (aka Tustin), weaponIndex);
}
private void GiveWeapon(int client, int weaponIndex)
{
BO2.RPC.Call(0x002A8364, 0x177E928 + (client * 0x580Cool Man (aka Tustin), weaponIndex, 0, 0);
BO2.RPC.Call(0x001E6838, 0x016B7920 + (client * 0x31C), weaponIndex, 0, 0);
BO2RPC.Call(0x002A8364, 0x177E928 + (client * 0x580Cool Man (aka Tustin), weaponIndex, 0, 0);
BO2RPC.Call(0x001E6838, 0x016B7920 + (client * 0x31C), weaponIndex, 0, 0);
}
private void button106_Click(object sender, EventArgs e)
{
if (numericUpDown1.Value == -1)
{
MessageBox.Show("Cannot Send To All Clients", "Error!");
numericUpDown1.Value = 0;
return;
}
if (this.DEX.Extension.ReadString(0x0178400E) != "")
{
string str = this.textBox1.Text;
int swag = Convert.ToInt32(str);
GiveWeapon((int)numericUpDown1.Value, (int)swag);
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo