Jump to content

edge

Members
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    1

edge last won the day on July 30 2018

edge had the most liked content!

2 Followers

Details

  • Gang
    reverse-gaming.ro
  • Location
    Iași, România

Recent Profile Visitors

1,333 profile views

edge's Achievements

Rat

Rat (9/54)

8

Reputation

  1. https://wiki.multitheftauto.com/wiki/Scripting_Introduction
  2. This works just when the files are being downloaded. Try to remove all your cached-files and enter your server. If that doesn't works, we'll check that. I don't think it didn't works, but I'll test it soon.
  3. That's quite simple. local screen = {guiGetScreenSize()} local page = "http://mta/local/yourfile.html" function downloadGUI() browser = guiCreateBrowser(0,0,screen[1],screen[2],true,true,false) --display the Browser bg = guiGetBrowser(browser) addEventHandler("onClientBrowserCreated", bg, function() loadBrowserURL(source, page) end) end addEventHandler("onClientRender", root, downloadGUI) function checkTransfer() if isTransferBoxActive() == true then setTimer(checkTransfer,2000,1) -- Check again after 2 seconds else removeEventHandler("onClientRender", root, downloadGUI) end end addEventHandler("onClientResourceStart",resourceRoot,checkTransfer) Also you need to update your download_priority_group field in meta.xml.
  4. Try to remove the <min_mta_version /> field in meta.xml or by just updating your server's version (https://nightly.multitheftauto.com/).
  5. Arată fain, dar parcă e oarecum prea brusc, încearcă să miști camera ceva mai încet, iar panoul să aibă ceva fade-in, ar da mai bine, zic eu. În rest, e super ok. Succes!
  6. Hello, where's the onDgsScrollBarScrollPositionChange event? How it's named now?
  7. edge

    Discord Python

    I've found that, but I'm getting some errors when I'm trying to add the file as a cog to the bot. Any advices?
  8. edge

    Discord Python

    And how this could help me?
  9. edge

    Discord Python

    Is there a way to execute commands with a python based discord bot on a MTA Server? Thanks for any advices.
  10. Nu am încercat vreodată să fac astfel de lucruri, dar presupun că trebuie să folosești un script care să înlocuiască un model. Încearcă să folosești engineReplaceModel, într-un fișier de client, apoi să folosești meta.xml în care introduci următoarele. https://wiki.multitheftauto.com/wiki/EngineReplaceModel (ia-te după exemplele din josul paginii) <meta> <file src="fisier.txd" /> <file src="fisier.dff" /> <script src="client.Lua" type="client" /> </meta> Toate astea le faci în folderul în care ai instalat MTA-ul \server\mods\deathmatch\resources și creezi un folder nou cu numele pe care îl dorești. Apoi te întorci în \server\mods\deathmatch și editezi mtaserver.conf, te duci la sfârșitul documentului unde găsești resursa play și adaugi: <resource src="nume resursa" startup="1" protected="0"/>
  11. edge

    Pursuit

    Folosești funcțiile createVehicle, createPed, warpPedIntoVehicle și setPedControlState. Și cred că și de resursa asta ai nevoie: https://wiki.multitheftauto.com/wiki/Slothman/Slothbot
×
×
  • Create New...