Jump to content

3B00DG4MER

Members
  • Posts

    512
  • Joined

  • Last visited

Everything posted by 3B00DG4MER

  1. i tried not working
  2. You have to edit on the DFF Use 3Ds Max to do that
  3. No help me !!!????
  4. Hi Guys today i'm making a CnR system but there's a problem while creating and destroying the Marker !! debugscript : attempt to index global 'marker' (a nil value) Client : for index = 1, #jails do marker[index] = createMarker ( jails [ index ] [ 1 ], jails [ index ] [ 2 ], jails [ index ] [ 3 ], "cylinder", 6, 0, 0, 255, 55, getLocalPlayer() ) end ..... for index = 1, #jails do destroyElement ( marker[index] ) end
  5. Ty For ur HElp i fixed it i was problem with DB codes i used 'AND' instead ','
  6. i tried dat client: function playerQuit() local id = getElementData(source,"id") local PosX,PosY,PosZ = getElementPosition(source) triggerServerEvent("onUserLogout", source,PosX,PosY,PosZ,id) end addEventHandler("onClientPlayerQuit", getRootElement(),playerQuit) server: function quitPlayer( PosX,PosY,PosZ,id ) local query = dbExec(connection, "UPDATE `??` SET `??` = '??' AND `??` = '??' AND `??` = '??' WHERE `??` = '??' LIMIT 1","accounts","PosX",PosX,"PosY",PosY,"PosZ",PosZ,"id",id) end addEvent("onUserLogout",true) addEventHandler ( "onUserLogout", getRootElement(), quitPlayer )
  7. i used this on another fuction setElementData(source,"id",row['id']) so what i can do ???
  8. it's don't update !!!!!!!!!!!! and there is nothing in debugscript, that's the problem !!!!!
  9. Hi Guys, i'm Making a gamemode which it's RPG ....... i've problem onClientPlayerQuit i tried to make if player Quit then Save the Last position With Mysql here is Client: function playerQuit() local PosX,PosY,PosZ = getElementPosition(source) triggerServerEvent("onClientLogout", localPlayer,PosX,PosY,PosZ) end addEventHandler("onClientPlayerQuit", getRootElement(),playerQuit) and Here is Server: function quitPlayer( PosX,PosY,PosZ ) local id = getElementData(source,"id") local query = dbExec(connection, "UPDATE `??` SET `??` = '??' AND `??` = '??' AND `??` = '??' WHERE `??` = '??' LIMIT 1","accounts","PosX",PosX,"PosY",PosY,"PosZ",PosZ,"id",id) end addEvent("onClientLogout",true) addEventHandler ( "onClientLogout", getRootElement(), quitPlayer )
  10. ty i'm using it now
  11. what i want to say dxMove from dxGUI resource
  12. Hi Guys, i have problem with Render, i tried to make moveObject in Event "onClientRender" but it get loop (mean MoveObject function will run as Event Canceled) how do i make the function run once time in event "onClientRender" ?
  13. works !!!!!!! ty hint:math is useful everywhere
  14. now it's output but it's output only between 0 and 1 mean if center x= 0.5 and y 0.5 remember that my screen size is: 1280 X 1024
  15. it output only on GUI elements only !!
  16. i removed them if i tried: addEventHandler ( "onClientGUIClick", root, function() local gCursor_pX, gCursor_pY = getCursorPosition() outputChatBox(gCursor_pX.." "..gCursor_pY) end end) it output only on GUI elements only !!
  17. Not Working
  18. i tried rectangle
  19. You want see the real ? here is Client: Sorry Guys but i have to delete it it was a complete scrip
  20. So i have to add the Event on onClientRender with Dx ?
  21. Hi Guys i've make 2 buttons as Dx Rectangle but if i add event "onClientGUIClick" but it not working i tried to add outputchatbox on event but same anyone help here is Client: dxDrawText("Username", 478, 441, 597, 493, tocolor(255, 255, 255, 255), 1.00, bigfont, "center", "center", false, false, true, false, false) dxDrawText("Password", 480, 507, 597, 552, tocolor(255, 255, 255, 255), 1.00, bigfont, "center", "center", false, false, true, false, false) addEventHandler ( "onClientGUIClick", root, function() if source == login or source == register then outputChatBox("Test !!") end end)
  22. AWSOME !!!!!!!!!!!!!!!
  23. Ty but i fixed before you talk But anyone THANKS !!
  24. Near To Work But there is Error Client: Line 7: Expected string at Argument 4,got Nil
  25. There is Problem i told you i want to show rows as a Gridlist yours show me Numbers in the gridlist Anyone HELP ME !!! @_@
×
×
  • Create New...