Quote:
Originally Posted by blue2kx
or they spawn with 0 hp.
|
Dieing will cause anything, but that will do it. Also it has nothing to do with spawning. Basically if your plugin does this:
Code:
pev(index, pev_health, <int like 100>)
It should turn the player's view almost upside down and set his health to 0. This will happen almost with any kind of thing, like armor, owner etc.
Health is a float and when it gets an int, it gets messed up.
This will instead work, cause the native changes it first float.
Code:
set_user_health(index, 0)