Jump to content

Zorgman

Members
  • Posts

    256
  • Joined

  • Last visited

  • Days Won

    4

Zorgman last won the day on September 28 2020

Zorgman had the most liked content!

5 Followers

Recent Profile Visitors

4,520 profile views

Zorgman's Achievements

Red-Headed Stepchild

Red-Headed Stepchild (19/54)

116

Reputation

  1. @Bean666 load the zombie edf from the top icon edf panel; then you can scroll over the bottom icons to switch to and use custom elements like zombie spawn points
  2. Felicitari, arata foarte bine facut. Intentionezi sa il lansezi si in engleza? Comunitatea romaneasca e destul de redusa ca numar cred (cel putin jucatorii de survival/dayz)
  3. You can freeze the vehicle to prevent it being pushed, but I don't think you can make the distinction between players and vehicles pushing it.
  4. You cannot extinguish fire objects, only fire created with https://wiki.multitheftauto.com/wiki/CreateFire If for some reason you have to use fire objects instead, you can probably employ a trick (using an invisible ped maybe) to detect when the fire object is hit by the water cannon and destroy the object.
  5. Zorgman

    gui scroll

    Pune cod sa incercam
  6. pls share alike if you ever complete the getting-down-from-roof part
  7. https://github.com/Zorangeorge/MTA-Dystopia-The-Incident/tree/master/[Dystopia]/dystopia_core Look in here, there are two scripts, climbing_client and climbing_server. You can take them out and put them in a standalone resource. It works with two or three types of ladder (object ids); face the ladder and double-jump to get on it; climbing down not implemented (you can move up and down on the ladder, but if you are on a roof you cannot really mount the ladder to descend) Credits go to Slothman for his superhero resource (I just took the Spiderman wallclimb superpower and restricted it into simple ladder climbing for my own use) Good luck!
  8. Attaching the ped to an element will effectively keep it in the designated place, the 'updatePosition' parameter will not work. I haven't seen yet a solution to this (peds jacking cars or even peds entering a vehicle using the normal mechanics); I think it can be done, though likely would not look as good as in SP, since cutting some corners would be necessary. You need to calculate the positions required, make sure the vehicle is stationary (maybe even freeze it for a short while), make the ped walk to the car door and play the animation, you open the car door by script (on a loop if you want to see actual motion and not simply 'snap' it open), warp out the driver, move it in the right position and have it play the animation, finally warping the hijacker inside.
  9. You can get the weapon element using getAttachedElements(player) and filtering the result, then set alpha to 0. https://wiki.multitheftauto.com/wiki/GetAttachedElements
  10. Hi @Vetje, This is a concept I am interested in and I would like to help, hit me up on Discord (Zorgman#9883) or by forum PMs if you want and we can speak more about it. Cheers
  11. You can try this resource by Dutchman101
  12. Update vehicle position in the database onPlayerVehicleExit as well.
  13. local vehicleplate = result[1]["plate"] local x = result[1]["posX"] local y = result[1]["posY"] local z = result[1]["posZ"] local nearby = 20 if getDistanceBetweenPoints3D(x, y, z, getElementPosition(player)) <= nearby then outputDebugString("Vehicle is nearby") end Something like this maybe? I assumed that you store the vehicle position in the dB, I also assumed the keys for that
  14. You have to setElementAlpha onClientKey.
×
×
  • Create New...