Open DayZ Community

M
Matt L
mattlampley96 add me on skype
H
Helmet
SORRY, NO SKYPE.
H
Helmet
Here is the code:
private["_humanity"];

_humanity = 0;

_humanity = player getVariable["humanity",0];

cutText ["Your Humanity is %1",_humanity];
M
Matt L
First off, what's triggering it? Something has to happen for it to actually display it, otherwise it could possibly be displaying a cutText every few seconds and that'd be annoying as hell. Second, remove _humanity = 0; and it should work.
M
Matt L
All you need is the getVariable line
H
Helmet
private["_humanity"];

_humanity = 0;

_humanity = player getVariable["humanity",0];

cutText ["Your Humanity is %1",_humanity];
H
Helmet
SORRY I don't have Skype....no cam
Back
Top