HUNGRY:3 Posted July 8, 2015 Share Posted July 8, 2015 hello i have a script i'm trying to make money show in labal but it's not working idk why it's showing 0 when i have about 34355 local cash1 = getPlayerMoney( getLocalPlayer() ) GUIEditor.label[1] = guiCreateLabel(773, 59, 856, 147, "CASH: "..cash1, false, GUIEditor.staticimage[1]) Link to comment
LabiVila Posted July 8, 2015 Share Posted July 8, 2015 Can you show all the script? This has nothing wrong... Link to comment
HUNGRY:3 Posted July 8, 2015 Author Share Posted July 8, 2015 Can you show all the script? This has nothing wrong... well there is no there thing with this code... Link to comment
LabiVila Posted July 8, 2015 Share Posted July 8, 2015 Well it doesn't work like that, https://wiki.multitheftauto.com/wiki/In ... ng_the_GUI function outputing () local money = getPlayerMoney (getLocalPlayer()) local asd = guiCreateLabel (0.25, 0.25, 0.25, 0.25, "CASH: "..money, true) end addEventHandler ("onClientResourceStart", getRootElement(), outputing) Link to comment
HUNGRY:3 Posted July 8, 2015 Author Share Posted July 8, 2015 You need to use guiSetText() alright thanks 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