Jump to content

TheSmart

Members
  • Posts

    516
  • Joined

  • Last visited

Everything posted by TheSmart

  1. that but it not working function open() if getElementDimension ( source ) == 4 then guiSetVisible(window, not guiGetVisible(window)) showCursor(not isCursorShowing()) end end bindKey('f1','down', open)
  2. Hey Guys! Today i need little help that how i can make if player dimension is 4 so then he can use the script LIKE IF Player in "1" Dimension so can use Freeroam script that its, anyone can help me? Thanks
  3. I also installed GTA 4 in my pc but after loading i got black screen D: why
  4. yes you can do it by SetWorldSoundEnabled
  5. any error show in debugscript 3?
  6. yes
  7. try this local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then
  8. https://community.multitheftauto.com/ind ... s&id=10156 https://community.multitheftauto.com/ind ... s&id=10793 https://community.multitheftauto.com/ind ... s&id=10374
  9. TheSmart

    Show

    lol forget to make server side thank you @TAPL
  10. TheSmart

    Show

    Hey Guys! i was trying to show images after when player login but idk why that not working no error in debugscript 3 function vs() RA = guiCreateStaticImage(91, 180, 398, 675, ":CODClasses/images/RA.png", false) US = guiCreateStaticImage(709, 180, 446, 675, ":CODClasses/images/US.png", false) showCursor(true) end function dxvs() dxDrawText("Russian Amry", 75, 112, 521, 176, tocolor(30, 34, 225, 255), 2.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawImage(59, 234, 551, 566, ":CODClasses/images/RAFlag.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(661, 282, 574, 512, ":CODClasses/images/USFlag.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("US Amry", 763, 110, 1209, 174, tocolor(220, 34, 34, 255), 2.00, "bankgothic", "left", "top", false, false, false, false, false) end function show () vs () addEventHandler("onClientRender", root, dxvs) end addEvent ( "onClientPlayerLogin", true ) addEventHandler ( "onClientPlayerLogin", getRootElement(), show) what wrong doing i'm?
  11. thank you
  12. Hey Guys! i need little help i was try to remove Logging dxpanel and edits , button when someone click on register button but logging dxpanel remove but edits and button won't removing idk how i can solve this function loginMenu () dxDrawRectangle(432, 194, 438, 579, tocolor(10, 69, 24, 125), false) dxDrawText("Login", 425, 184, 850, 278, tocolor(4, 13, 74, 125), 5.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Password", 432, 478, 681, 527, tocolor(4, 13, 74, 125), 1.50, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Play", 467, 610, 786, 713, tocolor(4, 13, 74, 125), 5.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Username", 432, 335, 681, 384, tocolor(4, 13, 74, 125), 1.50, "bankgothic", "left", "top", false, false, false, false, false) end function logingButtons () playbtn = guiCreateButton(472, 647, 359, 89, "Play", false) guiSetAlpha(playbtn, 0.00) rem = guiCreateCheckBox(730, 598, 130, 12, "Remember me", false, false) loginuseredit = guiCreateEdit(564, 404, 266, 44, "", false) loginpassedit = guiCreateEdit(566, 547, 266, 44, "", false) guiEditSetMasked(loginpassedit, true) end function logs(button,state) if (button == "left" and state == "up") then if (source == Loginbtn) then logingButtons () addEventHandler("onClientRender", root, loginMenu) showCursor(true) end end end addEventHandler("onClientGUIClick", getRootElement(), logs) function regs(button,state) if (button == "left" and state == "up") then if (source == registerbtn) then RegButtons () addEventHandler("onClientRender", root, dxRegPanel) removeEventHandler("onClientRender", root, loginMenu) removeEventHandler("onClientGUIClick", resourceRoot, logingButtons) showCursor(true) end end end addEventHandler("onClientGUIClick", getRootElement(), regs) Hope you understand my ENLGISH
  13. wrong section, create topic at here viewforum.php?f=177
  14. report at here viewtopic.php?f=114&t=31463&start=255
  15. TheSmart

    dxLogin

    thnx it work kariim tell me to set it true
  16. TheSmart

    dxLogin

    SLOVED.
  17. TheSmart

    dxLogin

    ye but still won't showing loggingMenu http://prntscr.com/7zygwf
  18. TheSmart

    dxLogin

    check my first post that what i want and you need some rest
  19. TheSmart

    dxLogin

    lol? i think you didn't read my topic
  20. TheSmart

    dxLogin

    anyone?
  21. what you mean missions rpg gang war? btw you can search it at here https://community.multitheftauto.com/
  22. good Job Dude
×
×
  • Create New...