SetPVarInt(params[0],"gunID",playerid); SetPVarInt(params[0],"gun",weapon); SetPVarInt(params[0],"slot",GetWeaponSlot(weapon));