• How would i make a custom weapon spawn on a map on the floor?
    3 replies, posted
Hey guys, If i was using the AK47 default custom weapon from the TTT badkings website... How would i make it so it wasnt just a T weapon but it could spawn on the floor of the maps aswell?? Thanks
SWEP.AutoSpawnable = false Only weapons that are not of type WEAPON_EQUIP* and have AutoSpawnable set to true will spawn from ttt_random_weapon entities. [URL="http://ttt.badking.net/custom-weapon-guide"]http://ttt.badking.net/custom-weapon-guide[/URL]
And if i do that, do they spawn randomly on the floor or do they spawn inside the maps or wht? [editline]1st October 2012[/editline] --- TTT config values -- Kind specifies the category this weapon is in. Players can only carry one of -- each. Can be: WEAPON_... MELEE, PISTOL, HEAVY, NADE, CARRY, EQUIP1, EQUIP2 or ROLE. -- Matching SWEP.Slot values: 0 1 2 3 4 6 7 8 SWEP.Kind = WEAPON_EQUIP1 -- If AutoSpawnable is true and SWEP.Kind is not WEAPON_EQUIP1/2, then this gun can -- be spawned as a random weapon. Of course this AK is special equipment so it won't, -- but for the sake of example this is explicitly set to false anyway. SWEP.AutoSpawnable = false Of course this AK is special equipment so it won't <------------ how would i edit it so it would do?
Change the false to true for SWEP.AutoSpawnable
Sorry, you need to Log In to post a reply to this thread.