Title says it, I would like to know a way of displaying the value of a NWInt in Derma (e.g. bottom of a derma will display "Money: *Amount*"
Also, if displaying said amount in a player's chat is a big difference from the derma way (which I doubt it is), could anyone let me know what to do differently for the chat, thanks!
Something along these lines will work:
[lua]"Money: "..LocalPlayer():GetNWInt("money")[/lua] assuming you want that person to see his own money, and in chat could be something like this: [lua]chat.AddText(Color(255,0,0),"You have: "..LocalPlayer():GetNWInt("money").."$")[/lua]
Sorry, you need to Log In to post a reply to this thread.