Post: Send Weapon C# [1.17]
05-04-2014, 11:06 AM #1
i_iTop_i
NextGenUpdate Elite
(adsbygoogle = window.adsbygoogle || []).push({}); I do not know you in one Post Thread

This is a way to send a weapon and I think everyone has the experience in dealing with the source


    private void GiveWeapon(int client, int weaponIndex)        {
BO2.RPC.Call(0x002A8364, 0x01780F28 + (client * 0x580Cool Man (aka Tustin), weaponIndex, 0, 0);
BO2.RPC.Call(0x001E6838, 0x016B9F20 + (client * 0x31C), weaponIndex, 0, 0);
}


How To Use It
    if (numericUpDown1.Value == -1)            {
numericUpDown1.Value = 0;
return;
}
if (this.DEX.Extension.ReadString(0x178660E) != "")
{
string str = this.textBox1.Text;
int swag = Convert.ToInt32(str);
GiveWeapon((int)numericUpDown1.Value, (int)swag);
}




Pic :

You must login or register to view this content.


You must login or register to view this content.

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to i_iTop_i for this useful post:

Asian, D3skm, M-alShammary, Mango_Knife
05-04-2014, 12:14 PM #2
Good Min

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo