TRANE152 Posted November 12, 2013 Posted November 12, 2013 Occupation = {} Occupation[1] = guiCreateWindow(456, 207, 458, 335, "Шindoш", false) guiWindowSetSizable(Occupation[1], false) guiSetVisible(Occupation[1], false) Occupation[3] = guiCreateLabel(9, 19, 439, 27, "Current work: nil", false, Occupation[1]) function refreshF3 () guiSetText(Occupation[3], "Current work: "..getPlayerTeam( source ) ) end bindKey ( "f3", "down", function(key,state) if not guiGetVisible(Occupation[1]) then guiSetVisible(Occupation[1], true) showCursor(true) refreshF3() elseif guiGetVisible(Occupation[1]) then guiSetVisible(Occupation[1], false) showCursor(false) end end) ERROR: client.lua:8: attempt to concaternate a userdata value
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