stPatrick

Members
  • Content Count

    489
  • Joined

  • Last visited

  • Days Won

    9

stPatrick last won the day on January 14

stPatrick had the most liked content!

Community Reputation

156 Celebrity

About stPatrick

  • Rank
    Hustler

Details

  • Gang
    SkyTeam
  • Location
    Hungary

Recent Profile Visitors

2,019 profile views
  1. The simplest way if you limit the command usage.
  2. stPatrick

    help plz

    This "not work" is not a big help dude. - Do you use this code on client side? - Do you test it with Turismo? (id: 451)
  3. stPatrick

    help plz

    increase old health with 50 setElementHealth(source, CarHP + 50)
  4. stPatrick

    help plz

    The maximum health of the vehicle is 1000, not 100, so: -- CLIENT SIDE function fix() local CarHP = getElementHealth(source) -- use as local variable, because you want to use this variable inside this function only if (getElementModel(source) == 451) then if (CarHP < 900) then setElementHealth(source, 1000) end end end addEventHandler("onClientVehicleDamage", root, fix)
  5. stPatrick

    Event

    removeEventHandler("onClientRender", root, ATTACHED_FUNCTION)
  6. Wiki: https://wiki.multitheftauto.com/wiki/Slothman/Slothbot Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=672
  7. Slothbot is the correct answer. Create a ped with slothbot and set bot mode to follow. Or do your own following algorithm with setPedControlState.
  8. https://wiki.multitheftauto.com/wiki/Slothman/Slothbot
  9. It is possible because the event triggered on button press and release. Trigger event only on button release. addEventHandler("onClientClick", root, function(button, state) if button == "left" then -- if clicked with left button if state == "up" then -- if button released -- trigger end end end)
  10. We can't say exactly because we can't see it. But, you can increase load distance with https://wiki.multitheftauto.com/wiki/EngineSetModelLODDistance Or try to disable occlusion with https://wiki.multitheftauto.com/wiki/SetOcclusionsEnabled
  11. It's just Tiny Encryption Algorithm with base64 encode. You need a 'key' to decode it.
  12. https://wiki.multitheftauto.com/wiki/OnMarkerHit https://wiki.multitheftauto.com/wiki/GetPedOccupiedVehicle https://wiki.multitheftauto.com/wiki/SetElementPosition https://wiki.multitheftauto.com/wiki/SetElementDimension https://wiki.multitheftauto.com/wiki/SetElementInterior