View Single Post
Bitl
Senior Member
Join Date: Jul 2012
Old 03-13-2013 , 05:41   Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
Reply With Quote #1032

Quote:
Originally Posted by FlaminSarge View Post
Ap-Sap won't spawn because of sapper-handling code that hasn't been extended to it yet. Ham Shank is 1013 and should be fine as long as you have TF2ItemsInfo installed.
Just went ahead and added the Ap-Sap.

Modified version below.

EDIT: Added checks for TF2ItemsInfo.

Code:
if (idx == 735 || idx == 736 || idx == 810 || idx == 831 || idx == 933)
Code:
if (iItemDefID == 735 || iItemDefID == 736 || iItemDefID == 810 ||iItemDefID == 831 ||iItemDefID == 933) iItemSlot = 1;
Attached Files
File Type: sp Get Plugin or Get Source (tf2items_giveweapon.sp - 170 views - 231.8 KB)
File Type: smx tf2items_giveweapon.smx (70.1 KB, 173 views)
__________________
My Plugins
Modified Plugins:
Building Spawner
Monster
It's Raining Men!
Tutorials:
Custom Gamemode

I DON'T DO PLUGIN REQUESTS.

Last edited by Bitl; 03-13-2013 at 13:37.
Bitl is offline