thisdp

Members
  • Content Count

    432
  • Joined

  • Last visited

  • Days Won

    8

thisdp last won the day on January 25

thisdp had the most liked content!

Community Reputation

219 Celebrity

About thisdp

  • Rank
    Thug
  • Birthday 12/11/1999

Details

  • Gang
    middle
  • Location
    home
  • Occupation
    Programmer
  • Interests
    programming

Recent Profile Visitors

3,258 profile views
  1. make the gas pump as object (removeWorldObject and createObject) amd then use https://wiki.multitheftauto.com/wiki/SetObjectBreakable
  2. I am afraid that it is an unsolvable question with only object. First, there is no way to get the texture from an object by position. Second, we can not get the texture from an object even you know which face of the object the mouse clicks without analyzing the dff file. But you can store the texture data in a table ....
  3. thisdp

    How to fix it?

    https://wiki.multitheftauto.com/wiki/SetNearClipDistance
  4. thisdp

    Need help

    addEventHandler("onClientRender",root,function() local _,_,playerRotation = getElementRotation(localPlayer) local cameraRotation = 360 - getPedCameraRotation(localPlayer) local cameraRad = math.rad(cameraRotation) local playerRad = math.rad(playerRotation) local includedAngle = math.cos(cameraRad-playerRad) local angleSymbol = math.sin(cameraRad-playerRad) if includedAngle < 0 then cameraRotation = playerRotation + 90*(angleSymbol > 0 and 1 or -1) setPedCameraRotation(localPlayer,cameraRotation) end end) Better to use cos/sin to solve this problem
  5. Get their handling and make some math calculations..
  6. Refer to the vehicles that have such feature, like elegy and supergt
  7. maybe you just make 0 mass? But this will make vehicle have low inertance.
  8. Before editing handlings, you need to make a lot of test, and record some data. After finishing the tests, you will find the answer. no
  9. turn mass always larger than mass..
  10. You can refer to vehicle original handling by: https://wiki.multitheftauto.com/wiki/GetOriginalHandling or use hedit(Handling editor) https://community.multitheftauto.com/index.php?p=resources&s=details&id=3716
  11. Poperties and values available are listed on wiki :https://wiki.multitheftauto.com/wiki/setVehicleHandling
  12. use a table or setElementData to record who was muted. before canceling event, check whether the source player is muted.
  13. thisdp

    [HELP] Text

    Don't worry too much about the performance, everything drops fps. DGS is alternative. Based on dx. https://wiki.multitheftauto.com/wiki/Resource:Dgs