Jump to content

TheSmart

Members
  • Posts

    516
  • Joined

  • Last visited

Everything posted by TheSmart

  1. TheSmart

    Group types

    Hello guys! i'm wanted to make if player group type is gang so he can't join police team so tell me how can i make it please i need this ASAP
  2. good job now its work
  3. Nice Tutorial dude :D :D Edit : well i use it and i got that error http://prntscr.com/7s3did
  4. dude don't spam at here you already tell me that yesterday so why are u posting here again? honestly don't be show off.
  5. Well I fixed it and I made some changes now It can download skins too so?
  6. same problem i have http://prntscr.com/7qu65a
  7. Did you manually add the dff/txd files in the meta? If so, remove them. This is because either the "download" attribute for the files doesn't exist or is set to true. It must be set to false. ohh thank you now its working
  8. MADE your moddownloader working good but mods download default system not custom downloading why? no error in debugscript 3
  9. TheSmart

    Help me!

    uff some help me pls
  10. i think you can do it by SetWorldSoundEnabled
  11. i heard from mta team in 2008 he said we will make it in future now its 2015 but still but ok thanx
  12. Hello guys! today i'm here to ask it is possible to add custom animation in mta? if yes tell me how i can do it? Thanks
  13. TheSmart

    Help me!

    i just want to make when player click on button memo will show and read rules.txt That's it
  14. TheSmart

    Help me!

    not working now only memo show
  15. https://wiki.multitheftauto.com/wiki/CreateTeam
  16. TheSmart

    Help me!

    anyone? i know code is wrong because i'm newbie at scripting help me so i can understand. :V
  17. what you think he is machine that do everything that you want? try it by yourself and if it have some problem post here, gl Well I am not talking to u , so Mind your own business ok now crying no problem gl
  18. what you think he is machine that do everything that you want? try it by yourself and if it have some problem post here, gl
  19. TheSmart

    Help me!

    Hello guys ! today im trying to make dx information panel idk why its not working can anybody help me? im noob at scripting and this is test code addEventHandler("onClientResourceStart", resourceRoot, function() helpmemo = guiCreateMemo(407, 209, 585, 475, "", false) end ) addEventHandler("onClientRender", root, function() dxDrawRectangle(63, 143, 967, 577, tocolor(9, 9, 9, 216), false, helpwindow) dxDrawRectangle(85, 494, 250, 63, tocolor(9, 9, 9, 242), false) dxDrawText("Darhal noob", 85, 493, 335, 557, tocolor(255, 255, 255, 255), 3.00, "default", "left", "top", false, false, false, false, false) end ) function onClick(x, y, absX, absY) if isCursorWithin(85, 493, 335, 557) then -- width , height are width height of dx draw (text / rectangle) function rules () rulestxt = fileOpen("Rules.txt", true) rulestxt1 = fileRead(rulestxt, 50000) guiSetText(helpmemo, rulestxt1) end addEventHandler("onClientGUIClick", Rules, rules) end end addEventHandler("onClientClick", root, onClick) function isCursorWithin(x, y, width, height) if(not isCursorShowing()) then return false; end local sx, sy = guiGetScreenSize(); local cx, cy = getCursorPosition(); local cx, cy = (cx*sx), (cy*sy); if(cx >= x and cx <= x + width) and (cy >= y and cy <= y + height) then return true; else return false; end end function open() if (guiGetVisible (helpwindow) == false) then guiSetVisible(helpwindow, true) showCursor(true) guiSetPosition(helpwindow,x,y,false) centerWindow(helpwindow) elseif (guiGetVisible (helpwindow) == true) then guiSetVisible(helpwindow, false) showCursor(false) end end bindKey ("F1", "down", open)
×
×
  • Create New...