This project is a RedM script that provides a kill reward system with healing and fire effects for players in the game. When a player kills another, the killer is healed with a visual effect and receives a notification about the reward.
- Heals the killer after a kill.
- Displays a message notifying the killer about the health reward.
- Clone or download this repository.
- Place the files (
client.lua,server.lua, andfxmanifest.lua) in a new folder within your RedM resources directory. - Add the resource to your
server.cfg:ensure [resource-folder-name]
No additional configuration is needed. The script integrates with the VORPcore system and automatically handles kill rewards.
- Ensure that your server has VORPcore installed and running.
- Start your server, and the kill reward system will activate.
Defines the metadata for the script, including dependencies and resource information:
fx_version 'cerulean'
game 'rdr3'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
author 'asfallen'
description 'Kill reward system.'
version '1.0.0'
server_scripts {
'server.lua'
}
client_scripts {
'client.lua'
}Handles client-side functionality such as applying healing effects and triggering particle animations.
Handles server-side events, such as detecting player deaths and triggering rewards for killers.
triggerParticleAndHeal: Applies healing and particle effects to the player.
vorp_core:Server:OnPlayerDeath: Detects player death and identifies the killer.PlayerKilled:HealKiller: Provides the killer with a reward and notification.
- Author: asfallen
This project is licensed under the MIT License. See the LICENSE file for details.
For further support or contributions, feel free to create an issue or pull request on this repository.