Posts: 131
Threads: 52
Joined: Sep 2010
Reputation:
0
i shoot a player and will set he hp - 20 but if the armour is 99 then will get a negative number
and the system will auto set he's armour to 255
how to let the player armour < 0 then set it to 0
Posts: 1,177
Threads: 27
Joined: Sep 2011
Reputation:
0
Every time you set the player's armor, check if it's below 0 and if it is then set it to 0 or you can hook SetPlayerArmour and implement the check there.
Posts: 217
Threads: 48
Joined: Jun 2008
Reputation:
0
if you can.. post this part of the script here.. cause i really didnt understand what u want.. and whats happening
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Are you using OnPlayerGive/TakeDamage to control damage?