Buttons to equip players (1.6)

Like such as the NIPPER
Post Reply
User avatar
func_?
Posts: 337
Joined: Wed Feb 21, 2007 4:19 am
Location: HK

Buttons to equip players (1.6)

Post by func_? » Fri Aug 27, 2010 2:17 am

There's this map, called jail_xmf, that has this gun room where, upon pressing a button, gives you weapons. I thought that was impossible to do before, so I never asked anyone... Anyways, does anyone know how to do that?
-War does not determine who is right, war determine who is left.
User avatar
reaper4172
Posts: 279
Joined: Mon Aug 06, 2007 1:31 am
Location: Minnesota, US
Contact:

Re: Buttons to equip players (1.6)

Post by reaper4172 » Fri Aug 27, 2010 3:48 am

use a button to trigger a game_player_equip point entity. click smart edit on the properties of that entity, hit add, name the key weapon_knife weapon_ak47 or w/e you want and set the value to 1 unless you want the gun to have more ammo then set the value higher.
<1.6 mapper>
reaper
User avatar
func_?
Posts: 337
Joined: Wed Feb 21, 2007 4:19 am
Location: HK

Re: Buttons to equip players (1.6)

Post by func_? » Fri Aug 27, 2010 4:03 am

Do I need to strip their guns as well with the weaponstrip?

-Edit: I tried it and it works! Also, you don't need to use smart edit, the preset ones work as well.
-2nd Edit: Yup, you need to use weapon strip as well
-War does not determine who is right, war determine who is left.
User avatar
reaper4172
Posts: 279
Joined: Mon Aug 06, 2007 1:31 am
Location: Minnesota, US
Contact:

Re: Buttons to equip players (1.6)

Post by reaper4172 » Fri Aug 27, 2010 8:28 pm

well, you don't have to use weapon strip unless they can buy. you can equip them with nades n stuff too with out it. otherwise yeah use multi manager to target weapon strip then equip
<1.6 mapper>
reaper
Post Reply