JS Function value into var

Hey! Im trying to make a text in the inventory so that players can see their current weight / maxWeight.

I can get the current weight into the console but I can’t get it the value from the function into the var… Its kind of hard for me to explain so i’ll post some pictures maybe someone can help.

Inside the inventory.js
Inside the client.lua
Inside the server.lua

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.