About This File
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