Buttons to equip players (1.6)
Buttons to equip players (1.6)
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.
- reaper4172
- Posts: 279
- Joined: Mon Aug 06, 2007 1:31 am
- Location: Minnesota, US
- Contact:
Re: Buttons to equip players (1.6)
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
reaper
Re: Buttons to equip players (1.6)
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
-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.
- reaper4172
- Posts: 279
- Joined: Mon Aug 06, 2007 1:31 am
- Location: Minnesota, US
- Contact:
Re: Buttons to equip players (1.6)
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
reaper