Jump to content

Recommended Posts

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

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...