Jump to content

roaddog

Members
  • Posts

    346
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by roaddog

  1. No i mean output vehicleHaveTintedWindow variable line 11 in your script
  2. Are you sure you have set vehicle data? setElementData(vehicle, "tuning.tintedWindow", 1) Try outputing the value line 11
  3. Okay, temp solution works. Hope it gets fixed asap cuz its rlly annoying.
  4. You should have put p instead of thePlayer @server line 3
  5. roaddog

    [HELP]

    Try debugging the script like put outputChatBox(tostring(team)) after line 2 and 3 and 5
  6. roaddog

    [HELP]

    Anything in debugscript 3?
  7. local GUIEditor = { button = {}, window = {}, memo = {} } GUIEditor.window[1] = guiCreateWindow(675, 322, 317, 305, "teszt panel", false) guiWindowSetSizable(GUIEditor.window[1], false) szoveg = guiCreateMemo(13, 23, 294, 223, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(33, 255, 257, 40, "ok", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") addEventHandler("onClientGUIClick", GUIEditor.button[1], function() outputChatBox("Szöveg "..guiGetText(szoveg).." még szöveg") ) end)
  8. roaddog

    The last reply

    Until i reach 1k posts
  9. roaddog

    [HELP]

    Add this addEventHandler("onPlayerSpawn", root, function() local team = getAccountData (getPlayerAccount(source), "team") local team = getTeamFromName(team) if not team then return end setPlayerTeam(source, team) end)
  10. Its okay gg. Ps: whats the song name?
  11. roaddog

    DX help

    dxDrawText("Updates", screenW*0.7891, screenH*0.7598, screenW*0.9187, screenH*0.8076, tocolor(255, 27, 27, 255), 1.00, "pricedown", "left", "top", false, false, false, false, false)
  12. Because.... U declare 'sound' outside function so first time the script load it will be random BUT everytime the onClientPlayerWeaponFireFunc called and execute playSound the 'sound' variable from the firts time it set. Solution would be placing line 2 inside function
  13. roaddog

    anti warp

    Yes use https://wiki.multitheftauto.com/wiki/Is ... inColShape for checking
  14. roaddog

    help

    Replace line 6 with this local numberplayerjoinls = tonumber(getElementData(hillArea,"numberplayerjoinls")) or 0 So that it will bypass nil then u can compare with number at line 8
  15. roaddog

    help

    Press f8 type 'upgrade account' without ''
  16. I got an error after login into my account and posting/reply from mobile browser, it happens to redirect me to this link but login forum.multitheftauto.com/search.php?search_id=active_topics&sid=1d7f51257384f330ddd86cd907e4d65b Posting this forum.multitheftauto.com/viewtopic.php?f=13&t=102017&p=912554&sid=1d7f51257384f330ddd86cd907e4d65b#p912554 But then display error page not found. This has been the issue from long time ago (when intro added) but this time after last maintenance it didnt save login session.
  17. roaddog

    help

    Type in console: upgrade account
  18. Put images inside scrollpane... GUIEditor = { window = {}, scrollpane = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(252, 79, 249, 368, "", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.scrollpane[1] = guiCreateScrollPane(224, 23, 15, 335, false, GUIEditor.window[1]) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 23, 55, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(10, 79, 55, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(10, 135, 55, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(10, 191, 55, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(10, 248, 55, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[6] = guiCreateStaticImage(10, 304, 55, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[7] = guiCreateStaticImage(10, 361, 55, 41, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[8] = guiCreateStaticImage(75, 23, 147, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[9] = guiCreateStaticImage(75, 79, 147, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[10] = guiCreateStaticImage(75, 135, 147, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[11] = guiCreateStaticImage(75, 191, 147, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[12] = guiCreateStaticImage(75, 248, 147, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) GUIEditor.staticimage[13] = guiCreateStaticImage(75, 304, 147, 51, ":Archievements/grey-001.png", false, GUIEditor.scrollpane[1]) if GUIEditor.scrollpane[1] then guiScrollPaneSetScrollBars(GUIEditor.scrollpane[1],false,true) end end )
  19. roaddog

    The last reply

    ^ how to pronounce it?
  20. First and only parameter onVehicleDamage is the hp loss not vehicle elemnt so function vehicle_damage(loss) if source == vehicle then outputChatBox("vehicle damaged (-"..loss.." HP)") end end addEventHandler("onVehicleDamage", root, vehicle_damage) Posted from mobile
  21. Use exports function Look at here https://forum.multitheftauto.com/viewto ... 656dbdb753 Exports section
×
×
  • Create New...