02-14-2013, 20:38
Anyone shed any light why using !tk it wont actually give that weapon or indeed a betty?
PHP Code:
if (Message == "!tk")
{
int TKCost2 = Convert.ToInt32(TKCost);
if ((int)Points[Client.XUID] < TKCost2)
{
iPrintLnBold("^1Not enough points!", Client);
}
else
{
int WepID = GetWeapon("throwingknife_mp");
Client.Other.Equipment = WepID;
Client.Other.OffhandWeapon = WepID;
Client.Ammo.OffhandAmmo = 2;
Points[Client.XUID] = ((int)Points[Client.XUID]) - TKCost2;
}