Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/24/21 in Files

  1. Version 1.0.0

    202 downloads

    This resource adds the kill counter from GTA Online. Players will get a notification showing how many times they died to their killer (red) and how many times they killed their killer (blue) on death. Requirements RAGE Multiplayer 1.1 and above Installing Put the files you downloaded in their respective places Add require('killcount') to client_packages/index.js All done API (Serverside) This resource adds a function to the player object: /** * Returns how many times this player killed the specified player. * @param {mp.Player} otherPlayer * @return {Number} */ player.getKillsAgainst(otherPlayer); Notes Kill counters are reset on disconnect Will probably cause mad trash talking Also on GitHub: https://github.com/root-cause/ragemp-kill-counter
    1 point
  2. 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
    1 point
  3. Version 1.0.0

    122 downloads

    This resource introduces new types of synced data variables along with entity.setVariable and entity.setOwnVariable to lower the affected user with syncing such data to a certain scope. Stream variables: Introduces synced data variables across streamed entities. The entity provides his data to the streamed clients and the vice versa. Dimensional variables: Introduces synced data variables across a dimension. The entity provides data to all clients in the dimension with a option to have a persistent data mode which keeps the data synced across multi dimension change. Note: Dimensional variables won't operate properly if you don't use its custom function entity.setDimension due to some complications that couldn't be sorted out. More information about the API usage can be found in github repo. This resource was a collaboration with me and @materiawith a vision to release a series of open sourced resources later on.
    1 point
×
×
  • Create New...