07-03-2013, 05:04 PM
Haven't yet looked at the actual code behind this, my guess is that the hunger is not sent to the client in the AddFoodExhaustion() function.
As for the malformed number, "0.3f" is a c/c++'s way of saying "this number is a single-precision floating-point number, rather than double-precision floating-point number"; in Lua, you need to drop the f: "0.3".
As for the malformed number, "0.3f" is a c/c++'s way of saying "this number is a single-precision floating-point number, rather than double-precision floating-point number"; in Lua, you need to drop the f: "0.3".