Moderators turret001 Posted November 30, 2016 Moderators Share Posted November 30, 2016 (edited) Here is a screenshot of the error message (console) here are the lines that cause problem: not sure what's wrong, I didn't write the code, and sadly I have no clue how to fix it.. Edited November 30, 2016 by turret001 Link to comment
Moderators turret001 Posted December 1, 2016 Author Moderators Share Posted December 1, 2016 (edited) @1LoL1 not sure if I'm aloud to upload someone elses scripts, I'll just post the github page link of that file: https://github.com/mtadayz/MTADayZ/blob/master/DayZ/handlers/players/server/consume_player.lua Edited December 1, 2016 by turret001 Link to comment
pa3ck Posted December 1, 2016 Share Posted December 1, 2016 Looks like the problem is at this line: addPlayerStats (source,"thirst",waterGain) Can you insert the following line after it: outputChatBox("waterGain value: " .. tostring(waterGain)) Then see what it returns Link to comment
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