Jump to content

BloodzGang

Members
  • Posts

    6
  • Joined

  • Last visited

Details

  • Gang
    Kill

BloodzGang's Achievements

Vic

Vic (3/54)

0

Reputation

  1. Now works, but... why the hell don't work it before, i tried this way too well, thank you Solid, this is working fine now, and i learn something more
  2. Continue without work... idk what is happenin here bro, this should be working... thank you for the try haha It's the stupid - est bug i got ever scripting, console didn't explain me where's the problem too.. well ,lets wait for more solutions, thank you! pd: You forgot the "end" for close "if" hehe
  3. Hi, i am sure this problem will be easy to solve, but i cannot do it by my self: Im trying to make a simple panel, the simplest panel you will see ever... this panel got open when a player hit a marker, the panel have three buttons, and the problem it's no one works when got clicked, i dont know if it's a handler error (onClientGUIclick) or what the hell it's happenin here, the panel its triggered by another source (by serverside source, for markerHit) and works, the problem it's just the buttons... i tried and tried but nothing. Here's the client(Gui) code: function pilotPanelOne () rWin = guiCreateWindow(472, 289, 158, 152, "Pilot Work", false) guiWindowSetSizable(rWin, false) leaveJob = guiCreateButton(12, 70, 136, 31, "Leave the job.", false, rWin) getJob = guiCreateButton(12, 29, 136, 31, "Get the job.", false, rWin) theClose = guiCreateButton(12, 111, 136, 31, "Close.", false, rWin) outputChatBox ("Works") showCursor (true) end addEvent ("pilotPanelOne", true) addEventHandler ("pilotPanelOne", getLocalPlayer(), pilotPanelOne) function whenPlayerClickToClose () outputChatBox ("Works") guiSetVisible (rWin, false) showCursor (false) end addEventHandler ("onClientGUIClick", theClose, whenPlayerClickToClose) Yes, the code just handle one of the buttons, the button for close the panel, i'll not handle the other buttons until this one (theClose) works. Thank you all.
  4. Thank you all, it's working now, sorry for this "obvious" post, thanks a lot
  5. I'm trying to make a login/register panel, but i dont know why, the console gimme error when i press the register button, i tried to download a premake login/register source, but i got the same error: " WARNING: ... Access denied @ 'addAccount' " Would be an acl error? What i have to do ?
  6. BloodzGang

    Help

    For what is the SQL functions? It's for save the players account settings or something?
×
×
  • Create New...