FWCentral Posted December 19, 2011 Share Posted December 19, 2011 bindKey("f2", "down", showpanel) VehiclePanel = guiCreateWindow(313,260,515,337,"Vehicle Panel",false) ^ that is onClientResourceStart works fine function showpanel() if (guiGetVisible(VehiclePanel) == true ) then guiSetVisible(VehicePanel, false) showCursor(false) else guiSetVisible(VehicePanel, true) -- Get error here saying expected gui-element and just shows the mouse. showCursor(true) end end Link to comment
CapY Posted December 19, 2011 Share Posted December 19, 2011 bindKey("f2", "down", showpanel) VehiclePanel = guiCreateWindow(313,260,515,337,"Vehicle Panel",false) ^ that is onClientResourceStart works fine function showpanel() if (guiGetVisible(VehiclePanel) == true ) then guiSetVisible(VehicePanel, false) showCursor(false) else guiSetVisible(VehicePanel, true) -- Get error here saying expected gui-element and just shows the mouse. showCursor(true) end end Because you are scripting without your head. You did this: VehiclePanel = guiCreateWindow(313,260,515,337,"Vehicle Panel",false) guiSetVisible(VehicePanel, true) See the error ? You mispelled a variable on 'guiSetVisible' function. Link to comment
12p Posted December 20, 2011 Share Posted December 20, 2011 Because you are scripting without your head. I see you slowly turning into a troll. Link to comment
CapY Posted December 20, 2011 Share Posted December 20, 2011 Because you are scripting without your head. I see you slowly turning into a troll. Haha Ben, just reality... Link to comment
12p Posted December 21, 2011 Share Posted December 21, 2011 Yeah, sure, you aren't a troll or don't try to be offensive while writing this Because you are scripting without your head. Link to comment
myonlake Posted December 21, 2011 Share Posted December 21, 2011 That's what she said! Link to comment
12p Posted December 21, 2011 Share Posted December 21, 2011 That's what she said! Who's "she"? Link to comment
myonlake Posted December 21, 2011 Share Posted December 21, 2011 That's what she said! Who's "she"? ... ever heard of a sexuality jokes before? -.- - Make sure you don't slip over in the bathroom. - That's what she said! - Did you have hard time yesterday? - That's what she said! - I only do stupid things at home. - That's what she said! Link to comment
CapY Posted December 21, 2011 Share Posted December 21, 2011 Haha Benx you're geek. lol Link to comment
12p Posted December 24, 2011 Share Posted December 24, 2011 ... ever heard of a sexuality jokes before? -.- Actually, sexuality jokes I use with my friends at school and while on a party or something, are pretty different and cooler than that nonsense s*** So, excuse me for not being from your country or something, but our humor sense is more "criticizant" (not sure if it's the right translation of "crítico" in Spanish), than yours. 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