Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/21/21 in all areas

  1. Version 1.0.0

    238 downloads

    This resource adds the ability to hood up/down while wearing a hoodie. Requirements RAGE Multiplayer 1.1 and above Installing Put the files you downloaded in their respective places Add require('hood-up') to client_packages/index.js All done Using Press F5 while wearing a hoodie as mp_m_freemode_01 or mp_f_freemode_01. How it works This resource uses Rockstar's restriction tags and variant components to identify what the hood up/down drawable would be, meaning you don't need to hardcode any IDs. It also uses restriction tags to check if hooding up causes any clipping while wearing a hat/mask. Tag(s) used to check if current top is hooded: HOODED_JACKET (top clothing item must not have HOOD_TUCKED tag - causes an issue with parkas) Tag(s) used to check if current top's hood is down: HOOD_DOWN Tag(s) used to check if current hat is compatible with hooding up: HOOD_HAT Tag(s) used to check if current mask is compatible with hooding up: HOOD_COMPAT, REBREATHER, HAZ_MASK, SKI_MASK, GAS_MASK, BIKER_MASK (if mask clothing has one of these flags, you can hood up) For more information, just check the code. Notes Some hats/masks prevent hooding up even though there wouldn't be any clipping - not much I can do, Rockstar set their restriction tags that way. Open parkas seem to get replaced with their closed variation upon hooding up. Tops with this issue are: 185, 189, 212, 303 on mp_m_freemode_01 and 187, 191, 216, 314 on mp_f_freemode_01 Serverside part of this resource accepts whatever value players send for their new top (there's still a basic bounds check), you might want to figure out a way to secure it. Also on GitHub: https://github.com/root-cause/ragemp-hood-up
    3 points
  2. You can try to impose a variable with a timer on the vehicle when the player leaves the car. And also, if someone got into this car, clear this timer. Source: https://wiki.rage.mp/index.php?title=PlayerEnterVehicle https://wiki.rage.mp/index.php?title=PlayerExitVehicle https://wiki.rage.mp/index.php?title=Entity::setVariable https://wiki.rage.mp/index.php?title=Vehicle::destroy
    1 point
  3. Version 1.1.0

    579 downloads

    Lucky wheel is synced. Coords: 1110.8710, 228.8737, -49.6358 resource on my github: https://github.com/Sokol123456/luckywheel Added support for 0.3.7, check github
    1 point
×
×
  • Create New...