W4lly Posted March 22, 2014 Report Share Posted March 22, 2014 bloodAmount = 1000; while {true} do { if(r_player_blood > 12000) then { r_player_blood = 12000; } else { sleep 2; if(s_player_sleep != -1) then { r_player_blood = r_player_blood + bloodAmount; }; }; }; I have little knowledge of code .... try mod this (i put simply condition if players sleep) extract from Krixes script, works fine, simply regen blood when sleep in tent , but it is correct or it may cause problems? Link to comment Share on other sites More sharing options...
Question
W4lly
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now