Hey Guys,
i have a little question :
Why can't I see the window in the Ingame? Is there any error in the Code?
function Status()
local sWidth, sHeight = guiGetScreenSize()
local Width,Height = 800,45
local X = (sWidth/2) - (Width/2)
local Y = sHeight - (Height/2)
local StatusW = guiCreateWindow ( X, Y, Width, Height, "SoLA-Status", true )
guiWindowSetMovable ( StatusW, true )
guiWindowSetSizable ( StatusW, false )
local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, StatusW )
local tabAll = guiCreateTab( "Allgemein", tabPanel )
local tabBed = guiCreateTab( "Bedürfnisse", tabPanel )
local tabRel = guiCreateTab( "Regeln", tabPanel )
guiCreateButton(0.02, 0.04, 0.94, 0.2, "JOB", true, tabAll)
guiCreateLabel(0.02, 0.04, 0.94, 0.2, "Die Bedürfnisse : ", true, tabBed)
guiCreateLabel(0.02, 0.04, 0.94, 0.2, "Keine unnötigen ADs, Kein Töten (ohne Grund), kein Flaming, kein Spamming", true, tabRel)
guiSetVisible(StatusW, false)
end
addEventHandler("onClientResourceStart",resourceRoot,Status)
Help would be really nice (This is my first self-made script )
Greetz
Edit :
I forgot to say whether I see any errors or if the console shows any errors :
Really quick : No