function showLoginWindow()
createLoginWindow()
outputChatBox("DEBUG 1 PASSED")
if(wdwLogin ~= nil) then
guiSetVisible(wdwLogin, true)
showCursor(true)
guiSetInputEnabled(true)
else
outputChatBox("An unexpected error has occured and the login GUI could not be created.")
end
end
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), showLoginWindow)