- 0
Sign in to follow this
Followers
0
-
Similar Content
-
By THAC0_Gewch
https://github.com/OlofTheBald/DayZ-Humanity-Loadout-Granter/tree/Epoch_1.0.5.1
Updated for 1.0.6.x
-
By THAC0_Gewch
Many years ago, I made a Humanity Loadout script for 1.0.5.x. The script is basic, it checks your players' humanity and grants a pre-set loadout when they spawn depending on their humanity level.
I've now updated and optimized this script for 1.0.6.x:
https://github.com/OlofTheBald/DayZ-Humanity-Loadout-Granter
-
By calinova22
I was wondering if it is possible to make it so that a players humanity would not change for a certain amount of time? I have a PVP arena with a teleport in and I was wanting to make it so people could TP in and fight without worrying about gaining or losing humanity.
-
- Advertisement
Howdy guys. I tried to make lossing humanity after die by adding this code:
_DeadHumanity = player getVariable["humanity",0];
_DeadHumanity = _DeadHumanity - 1000;
player setVariable ["humanity", _DeadHumanity , true];
to player_death.sqf. After die I can see, that humanity changed, but when I spawn, my humanity amount is like was before death.
I just think, that I should make it in server side, but dont know how and where.
I have few ideas about that, but dont know how to realise them:
1. Data base script, that changes humanity when creates new body of already existed player.
2. Mission side script. After spawn change humanity of player.
3. Server side. Idk where :c
Hope that someone clever can help me :) Thanks!
Share this post
Link to post
Share on other sites