Jump to content

TheSmart

Members
  • Posts

    516
  • Joined

  • Last visited

Everything posted by TheSmart

  1. it will be better if you post screenshots at here
  2. TheSmart

    playSound

    link is not working try to use another one.
  3. Thank You @Alw7sH its working now :D
  4. not working still getting that error http://prntscr.com/98dw94
  5. Nope Still getting same error
  6. Hey Guys! I create a table that show 1 gui every time you enter one of the marker tables I made this but it won't work...Hope you understand (table Created by Darhal) markersPosTable= { --{x, y, z, interior, dim} {-23.60000038147, -55.299999237061, 1002.5999755859, 6, 3}, } for k, v in pairs(markersPosTable) do local marker= createMarker(v[1], v[2], v[3], "cylinder", 1.0, 0, 122, 43, 211) setElementInterior(marker, v[4]) setElementDimension(marker, v[5]) end function showgui (hitElement) if (hitElement == localPlayer) then addEventHandler("onClientRender",root, dxPanel) showCursor(true) end end addEventHandler("onClientMarkerHit", marker, showgui) i getting this error : - http://prntscr.com/98csds
  7. ahhh nice job dude keep it up
  8. Hello guys! today i'm making dx Help panel but it have problem that is when i put x* and y* in Code that (rectangle & text) show in other position but when i remove x* and y* its back to his position i use guiGetScreenSize to fix it all resolution local sx,sy = guiGetScreenSize () local x,y = (sx/1024),(sy/768) That code function LT() dxDrawLine(x*74 - 1, y*269 - 1, x*74 - 1, y*993, tocolor(255, 9, 9, 255), 1, false) dxDrawLine(x*325, y*269 - 1, x*74 - 1, y*269 - 1, tocolor(255, 9, 9, 255), 1, false) dxDrawLine(x*74 - 1, y*993, x*325, y*993, tocolor(255, 9, 9, 255), 1, false) dxDrawLine(x*325, y*993, x*325, y*269 - 1, tocolor(255, 9, 9, 255), 1, false) dxDrawRectangle(x*74, y*269, x*251, y*724, tocolor(0, 0, 0, 176), false) -------------------------------------- dxDrawRectangle(x*76, y*287, x*248, y*40, tocolor(255, 0, 0, 175), false) dxDrawText("Introduction", x*75, y*287, x*324, y*326, tocolor(0, 0, 0, 255), 1.10, "bankgothic", "left", "top", false, false, false, false, false) dxDrawRectangle(x*76, y*367, x*248, y*40, tocolor(255, 0, 0, 175), false) dxDrawText("NGG Features", x*75, y*367, x*324, y*406, tocolor(0, 0, 0, 255), 1.09, "bankgothic", "left", "top", false, false, false, false, false) dxDrawRectangle(x*75, y*451, x*248, y*40, tocolor(255, 0, 0, 175), false) dxDrawText("NGG Forum", x*74, y*452, x*323, y*491, tocolor(0, 0, 0, 255), 1.09, "bankgothic", "left", "top", false, false, false, false, false) end That happen http://i.imgur.com/ftbpFGd.png that code when i remove it function LT() dxDrawLine(74 - 1, 269 - 1, 74 - 1, 993, tocolor(255, 9, 9, 255), 1, false) dxDrawLine(325, 269 - 1, 74 - 1, 269 - 1, tocolor(255, 9, 9, 255), 1, false) dxDrawLine(74 - 1, 993, 325, 993, tocolor(255, 9, 9, 255), 1, false) dxDrawLine(325, 993, 325, 269 - 1, tocolor(255, 9, 9, 255), 1, false) dxDrawRectangle(74, 269, 251, 724, tocolor(0, 0, 0, 176), false) -------------------------------------- dxDrawRectangle(76, 287, 248, 40, tocolor(255, 0, 0, 175), false) dxDrawText("Introduction", 75, 287, 324, 326, tocolor(0, 0, 0, 255), 1.10, "bankgothic", "left", "top", false, false, false, false, false) dxDrawRectangle(76, 367, 248, 40, tocolor(255, 0, 0, 175), false) dxDrawText("NGG Features", 75, 367, 324, 406, tocolor(0, 0, 0, 255), 1.09, "bankgothic", "left", "top", false, false, false, false, false) dxDrawRectangle(75, 451, 248, 40, tocolor(255, 0, 0, 175), false) dxDrawText("NGG Forum", 74, 452, 323, 491, tocolor(0, 0, 0, 255), 1.09, "bankgothic", "left", "top", false, false, false, false, false) end then its back to his position http://i.imgur.com/tpO3edx.png what wrong doing i'm? Hope you understand my BAD English
  9. TheSmart

    DxPanel

    Thank you @Don its working now
  10. TheSmart

    DxPanel

    what you change?...Nothing, Not working D:
  11. TheSmart

    DxPanel

    Hello Guys! today i was creating Dx Help Panel but it have problem that is when i press f1 dxpanel show up but when i press f1 again it wont remove Tell me why there is any problem in this code? function open() if (guiGetVisible (buttons) == false) then guiSetVisible(buttons, true) addEventHandler("onClientRender", root, dxPanel) showCursor(true) elseif (guiGetVisible (buttons) == true) then guiSetVisible(buttons, false) removeEventHandler("onClientRender", root, dxPanel) showCursor(false) end end bindKey ("F1", "down", open)
  12. WTF! do you have problem? bluntz is my friend but im not owner of his server SO PLEASE FU*CK OFF, if server hoster owner want to take my server back so go ahead.
  13. Username: TheSmart Your name(Full and last name): Moeez Tanveer Why do you want free MTA Server?: Because in Pakistan we can't buy server D: Server Slots: 150-200 Your Skype : muhammad.moeez44 Your Email: [email protected]
  14. Edit: That is SAUR 2.0 Leaked script, We don't support leaked scripts
  15. try to post some picture of your server that will make interest to join
  16. Thnx it working now next time i be careful
  17. TheSmart

    not working

    Hey guys! anybody tell me why that not working? D: Client function click(button,state) if (button == "left" and state == "up") then if (source == freeroampic) then removeEventHandler("onClientRender", root, dximage) guiSetVisible(freeroampic,false) triggerServerEvent (source, spawm, source ) showCursor(false) end end end addEventHandler("onClientGUIClick", getRootElement(), click) Server function show() spawnPlayer ( source,-2431.39, -593.59, 132, 90) end addEvent ("spawm", true ) addEventHandler ( "spawm", getRootElement(), show)
×
×
  • Create New...