Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. Post a screen shot of the folder "testmode"
  2. This "music\Noaa Weather Radio Severe Thunderstorm Warning.mp3" should be "music/Noaa Weather Radio Severe Thunderstorm Warning.mp3" />
  3. posZ عندك خطأ بالأحداثيات سطر 17 "3809.8349609375" posY="-1520.1619873047" posZ="2495156288147" rot="204" randx="3" randy="3" randz="0"/> عدله يكون كذا "3809.8349609375" posY="-1520.1619873047" posZ="24.95156288147" rot="204" randx="3" randy="3" randz="0"/> و عندك ذا متكرر سطر 14 - 15 - 16 "46"/> "46"/> "46"/> وذا كمان سطر 23 - 24 - 25 "124"/> "124"/> "124"/> (اضافة أنك نسيت تحط ذا في آخر الكود (بعد سطر 27
  4. How we can help you without posting the script code and the meta etc..
  5. TAPL

    guiCreateScrollBar

    You're welcome.
  6. TAPL

    guiCreateScrollBar

    The code i have post doesn't do that, worked fine with me.
  7. You can get them from this website: http://www.gtainside.com/en/download.php?do=cat&id=116 And this to make it resource: http://mta.dzek.eu/vehicle/
  8. سوات فان شخصية؟ addCommandHandler giveWeapon setElementModel
  9. TAPL

    guiCreateScrollBar

    local towary = { {"Odpady", "Trociny", 0, 20, 50}, {"Odpady", "Puszki", 1, 50, 80}, {"Odpady", "Butelki", 2, 80, 110}, {"Odpady", "Papier", 0, 20, 50}, {"Odpady", "Smoła", 9, 290, 320}, {"Spożywcze", "Jabłka", 3, 110, 140}, {"Spożywcze", "Banany", 6, 200, 230}, {"Spożywcze", "Gruszki", 1, 50, 80}, {"Spożywcze", "Śliwki", 8, 260, 290}, {"Spożywcze", "Mrożonki", 12, 380, 410}, {"Napoje", "Herbata", 7, 230, 260}, {"Napoje", "Tymbark", 17, 530, 560}, {"Napoje", "Kawa", 5, 170, 200}, {"Napoje", "Mleko", 2, 80, 110}, {"Napoje", "Piwo", 16, 500, 530} } local towar = { } local kupuj = { } local x,y = guiGetScreenSize() function closegui() guiSetVisible(oknotoww, false) showCursor(false) end oknotoww = guiCreateWindow((x-600)/2,(y-350)/2,600,350,"System towarów",false) oknotow = guiCreateScrollPane(0.05,0.05,1,1,true,oknotoww) guiSetVisible ( oknotoww, false ) info1 = guiCreateLabel (0.039,0.08,0.2,0.3,"Nazwa", true, oknotow) info2 = guiCreateLabel (0.20,0.08,0.2,0.3,"Ilość score", true, oknotow) info3 = guiCreateLabel (0.43,0.08,0.2,0.3,"Min. suma", true, oknotow) info4 = guiCreateLabel (0.65,0.08,0.2,0.3,"Max. suma", true, oknotow) guiSetFont ( info1, "default-bold-small" ) guiSetFont ( info2, "default-bold-small" ) guiSetFont ( info3, "default-bold-small" ) guiSetFont ( info4, "default-bold-small" ) for k, v in ipairs ( towary ) do function zakup(player) if source == kupuj[k] then player = getLocalPlayer() outputChatBox("Załadowales towar!", player) vehicle = getPedOccupiedVehicle(player) dest = markers[math.random(1, #markers)] destblip = createBlip( dest[1], dest[2], dest[3], 41, 2, 255, 255, 0, 0, 1000) marker = createMarker( dest[1], dest[2], dest[3], "cylinder", 3, 255, 255, 0, 255) setElementData(vehicle, "praca", k) setElementData(vehicle, "praca2", true) a, s, d = unpack(dest) end end towar[1] = guiCreateLabel (0.02,0.1+0.08*k,0.2,0.1,v[2],true,oknotow) towar[2] = guiCreateLabel (0.23,0.1+0.08*k,0.2,0.1,v[3],true,oknotow) towar[3] = guiCreateLabel (0.44,0.1+0.08*k,0.2,0.1,v[4].."$",true,oknotow) towar[4] = guiCreateLabel (0.66,0.1+0.08*k,0.2,0.1,v[5].."$",true,oknotow) kupuj[k] = guiCreateButton (0.81,0.095+0.08*k,0.13,0.06,"Załaduj",true,oknotow) addEventHandler ( "onClientGUIClick", kupuj[k], zakup, false ) end zamknij = guiCreateButton (0.45,0.9,0.15,0.07,"Zamknij",true,oknotow) addEventHandler ( "onClientGUIClick", zamknij, closegui, false )
  10. TAPL

    guiCreateScrollBar

    Where x and y is defined?
  11. https://wiki.multitheftauto.com/wiki/Resource:Votemanager
  12. https://wiki.multitheftauto.com/wiki/Scripting_Introduction#Clientside_and_Serverside_scripts https://wiki.multitheftauto.com/wiki/Client_side_scripts
  13. https://wiki.multitheftauto.com/wiki/EngineLoadTXD https://wiki.multitheftauto.com/wiki/EngineImportTXD https://wiki.multitheftauto.com/wiki/EngineLoadDFF https://wiki.multitheftauto.com/wiki/EngineReplaceModel للأسلحة تلقاها بالصفحة ذي model أرقام https://wiki.multitheftauto.com/wiki/Weapons
  14. عندي شغال يعني الكود مافيه مشكلة أتوقع أنك مسوي التيم من الأدمنية ذا الكود يحل المشكلة createTeam("bahrain",0,150,255) addEventHandler("onPlayerJoin", root, function() spawnPlayer(source, 1673.4278564453, -849.73840332031, 59.143863677979, 180, 2, 0, 0, getTeamFromName("bahrain")) setCameraTarget(source) end)
  15. شغال عندي تأكد أنك حاطه سيرفر مو كلينت
  16. Read the wiki and you will know. https://wiki.multitheftauto.com/wiki/RemoveWorldModel
  17. https://forum.multitheftauto.com/viewtopic.php?f=119&t=49169
  18. createColSphere Event: onColShapeHit toggleControl
  19. Yes, possible. Client Side: bindKey("T","down","chatbox","decir") Server Side: bindKey(player,"T","down","chatbox","decir")
  20. https://wiki.multitheftauto.com/wiki/GuiCreateFont
  21. addCommandHandler("darcarro", function(s, c, id) for i,p in ipairs (getElementsByType("player")) do local v = getPedOccupiedVehicle(p) if v then setElementModel(v, tonumber(id)) end end end)
  22. CreateTeam = createTeam("bahrain",0,150,255) addEventHandler("onPlayerJoin", root, function() spawnPlayer(source, 1594.2, -2104.6, 17.8, 0, 2, 0, 0, CreateTeam) setCameraTarget(source) end)
  23. شكل أيش شكل = شخصية؟ و إلا تقصد شي ثاني
  24. أكيد أنت مشغل الفري روم
×
×
  • Create New...