gytisan Posted March 11, 2012 Share Posted March 11, 2012 I getting error: [2012-03-11 19:12:39] Starting panel [2012-03-11 19:12:39] ERROR: panel\gui_client.lua:7: attempt to call global 'guiGetScreenSize' (a nil value) And bind key to close/open panel F7 Dont work How to solve it ? Link to comment
gytisan Posted March 11, 2012 Author Share Posted March 11, 2012 meta.xml "DD" type">type">type="script" version="3.7.0" /> >type="client"/> gui_client.lua I will dont post full code only where error toServer = {} theSkins = {} theTimers = {} theMessages = {} local cnt = 0 local boxW, boxH = 333, 111 local sW, sH = guiGetScreenSize() local boxX, boxY = sW/2 - 166, sH/2 - 50 local headX, headY = boxX + 60, boxY + 12 local headXb, headYb = boxX + 277, boxY + 40 local textX, textY = boxX + 13, boxY + 48 local textXb, textYb = boxX + 320, boxY + 98 local textF = 1.3 local headF = 2.5 local timeDeath = 1 local colorSet = "name" local nowPlaying = false local black = tocolor(0,0,0,255) local carcolor1, carcolor2 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