idarrr

Members
  • Content Count

    134
  • Joined

  • Last visited

  • Days Won

    1

idarrr last won the day on January 23 2017

idarrr had the most liked content!

Community Reputation

24 Decent

About idarrr

  • Rank
    Poot-butt
  • Birthday 18/03/1994

Details

  • Gang
    O_o
  • Location
    Indonesia
  • Occupation
    Rats
  • Interests
    $

Recent Profile Visitors

1,150 profile views
  1. Update: In guiCreateBrowser, I found that youtube video plays perfectly when I'm moving my cursor. But the video freeze and laggy when I stop moving my cursor. Can anyone confirm this or it's just me?
  2. Am I the only one facing this problem? I'm using dxCreateShader and engineApplyShaderToWorldTexture to draw youtube video on object. But the video is so laggy and barely moving. I set playback quality to small and still getting this lag. But when my character moving around (using w,a,s,d), the video is moving, not that laggy but still, unwatchable. I also test it on guiCreateBrowser and play youtube video, and the video is barely moving. I know its not my PC problem cuz i had 90fps and everyone also told me that video is laggy and unwatchable. I don't know if I miss something or its CEF problem, cuz I made this 3 months ago and it was fine until now.
  3. local cam = getCamera() local _, _, cz = getElementRotation(cam) local px, py, _ = getElementRotation(localPlayer) setElementRotation(localPlayer, px, py, cz)
  4. https://wiki.multitheftauto.com/wiki/DxDrawTextOnElement
  5. Maybe because you are using ALT + TAB and this will clear all render target. https://wiki.multitheftauto.com/wiki/OnClientRestore
  6. No, you can't use youtube URL to play a sound. There is an API to convert youtube url to mp3 file and you can play it. Or, you can create invisible browser and open youtube URL.
  7. Just convert MP4 video to WEBM
  8. I don't know what are you going to do with that. Is there any error coming out from debug? You know, 4th argument on setTimer is variable you wish to pass to SubenPasajeros function. And you should do this on SubenPasajeros function function SubenPasajeros (DispPasajeros) -- pass the variable here end
  9. It tooks only 10 seconds for me to find the answer on google. https://scriptinghelpers.org/questions/2725/difference-between-pairs-ipairs-and-next
  10. idarrr

    Server lag

    Probably the problem was on client side code, and mostly lag coming from render event, mods, and shader. You can check your client and server performance either using performancebrowser or ipb resource. Check this link: https://wiki.multitheftauto.com/wiki/Resource:Performancebrowser EDIT: btw, your image link is broken.
  11. idarrr

    sqlite COUNT

    That query should work and return zero as column COUNT(Account) Should be like this result[1]["COUNT(Account)"]
  12. This thing here if (randomQuestion) and (randomID) then else -- if code executed here, statement above return false end randownQuestion or randomID value may contain nil value
  13. When client download encoded file, you just need to read data from file and decode it and I dont think you need to modify the file at all. And use that buffer to apply texture or dff. See engineLoadDFF And also for dxDrawImage can be done using dxCreateTexture Basically: read file data using fileRead > decode data > apply texture or model using decoded data > close file I never try this, but I think it should work. Not sure about GUI image.
  14. idarrr

    [HELP]Trigger

    function showText(hedef,fiyat) local fiyat = getElementData(theVehicle, "fiyat") or 0 toBeShowed = toBeShowed.."Arac Fiyatı: "..fiyat.."\n" lines = lines + 1 end addEvent("oyuncuBilgisiDevam", true) addEventHandler("oyuncuBilgisiDevam", root, showText)
  15. What's the problem? And what is this? if (getElementData) >= 6 then