Quote:
Originally Posted by Phil25
For this to work you should change "void" to "int". But what you're trying to achieve could be done with reading the max health netprop of the player entity. I advise you to do that as max health could change depending on the loadout.
|
Totaly agree with Phil, if you add void to your function it makes it return nothing, so it's useless, you are actually trying to return a integrer so replace void with the right thing.
__________________