Pedestrian CPR
Description
Revive pedestrians (NPC/AI) on your demand. Originally created for a framework which is based on NPC interaction.
Screenshot
Video Showcase
Features
v1.0.1
- Standalone script.
- Onesync compatible.
- /revive pedestrians which have been injured.
- Text based notifications supporting the process of CPR.
- Animated interaction.
- Escrow protected.
v1.2.0
- Rewrote the script to actually make the animations work on pedestrians.
- Added more optimisation on synchronisation.
- Added multiple configurable variables in the config.lua, like the chance to survive CPR.
v1.2.2
- Added loading animation dictionaries synchronization to enforce playing the animations for all players around the initiator.
- Fixed the issue where players would ‘spaz’ out when performing CPR.
- Known issue: the last animation does not show for other networked players. (I am hoping to find a solution)
Obtain this resource via our Tebex store
https://store.nights-software.com
Our other resources:
[& more…](https://store.nights-software.com/
)
1 Like
Let me make a video for you, hang on!
Look really cool but, that positioning. Im sorry paid mods should deliver quality and this does not. At most i would be willing to give $2. I look forward to an update before I would get it.
Hey, contact me through the support page on Tebex and we will sort your issues.
nice script whats the animation name
It’s a combination of animations in a loop.
Animations = { -- [The script is built on these animations. It is not recommended to change some.]
-- Anim Dict for CPR -> [Not recommended changing]
CPR_Anim_Dict_1 = "mini@cpr@char_a@cpr_str",
CPR_Anim_Dict_2 = "mini@cpr@char_a@cpr_def",
-- Staged animations during CPR -> [Not recommended changing]
CPR_Stage_0 = "cpr_intro",
CPR_Stage_1 = "cpr_pumpchest",
CPR_Stage_2 = "cpr_kol",
CPR_Stage_3 = "cpr_kol_to_cpr",
CPR_Stage_4 = "cpr_success",
-- Scenario after CPR -> [When player succesfully ends CPR on the pedestrian, what animation do you want the player to do?]
CPR_Aftermath = "CODE_HUMAN_MEDIC_TIME_OF_DEATH",
-- NPC animation -> [When NPC's revive, what animation do you want them to do?]
CPR_Finished_Dict = "move_m@_idles@shake_off",
CPR_Finished = "shakeoff_1",
},
1 Like
ilagd
12
having a huge error with this script that when ems begin reviving a local and somebody is too close it immediately starts the animation on every player in the server and then causes crashes
Hiya,
We provide support for errors! Can you click the support button on https://store.ea-rp.com? This way we can provide livestream support or easy chat support through the right channels 
works great on npc, but when i try on a player, i go just under the ground and preform my cpr underground? is there a fix for that ?
We provide support at our Discord. Via https://store.nights-software.com you can find this.