Control characteristics character

፨ẴzɏϻΘķ፨

Member
Member
Apr 9, 2016
123
6
18
28
Canada
In early versions of the mod seen in the hook Player can verify a client player to the radiation,bleeding,cold,satiety,poisoning + the ability to set these parameters to the player - now found - here is an example that previously worked for me - and now refuses :(

Code:
 var InfoIsInjured = Player.IsInjured.get_IsInjured();
if (InfoIsInjured == true){
Player.MessageFrom("XxX", "Your legs broken :(");}
has something changed?How else is it possible to recover it all
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
In early versions of the mod seen in the hook Player can verify a client player to the radiation,bleeding,cold,satiety,poisoning + the ability to set these parameters to the player - now found - here is an example that previously worked for me - and now refuses :(

Code:
 var InfoIsInjured = Player.IsInjured.get_IsInjured();
if (InfoIsInjured == true){
Player.MessageFrom("XxX", "Your legs broken :(");}
has something changed?How else is it possible to recover it all
Are you looking to set/remove the values (Radiation, Bleeding, Cold etc)?
Or are you looking for a hook when one of these happen/change?
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
In early versions of the mod seen in the hook Player can verify a client player to the radiation,bleeding,cold,satiety,poisoning + the ability to set these parameters to the player - now found - here is an example that previously worked for me - and now refuses :(

Code:
 var InfoIsInjured = Player.IsInjured.get_IsInjured();
if (InfoIsInjured == true){
Player.MessageFrom("XxX", "Your legs broken :(");}
has something changed?How else is it possible to recover it all
that doesn't seem right.

var injured = Player.IsInjured;

do something..