Search the Community
Showing results for tags 'gold'.
-
local g = 0 function giveGold() local g = g+1 end addCommandHandler("giveG", giveGold) function showGold(source) outputChatBox(tostring(g), 255, 255, 0) end addCommandHandler("showG", showGold) I mean, I want the "showG" command to show the Player amount of gold, and the "giveG" command wants it to add the Player amount of gold. It is on the client side. PLS HELP