Weapon system
#3

You can restrict the weapon damages by many ways actually,

You can either return 0 at onplayerweaponshot (which will only work on weapons that are shot, of course), Set the players team to an equal team so they don't damage theyselves then process the damage at OnPlayerTakeDamage, you can also disable the damage by the previous way and do a completely scriptsided damage.

As for the player losing ammo, yes you can, either by a timer or OnPlayerUpdate (more accurate).
Reply


Messages In This Thread
Weapon system - by Noliax8 - 25.02.2014, 13:08
Re: Weapon system - by Noliax8 - 26.02.2014, 15:41
Respuesta: Weapon system - by CuervO - 26.02.2014, 15:59
Re : Weapon system - by Noliax8 - 26.02.2014, 17:07
Respuesta: Weapon system - by CuervO - 26.02.2014, 17:12
Re : Weapon system - by Noliax8 - 27.02.2014, 11:19
Re : Weapon system - by Noliax8 - 01.03.2014, 10:53

Forum Jump:


Users browsing this thread: 2 Guest(s)