Ped & Player CPR (Animated) for FiveM
A guide to install Ped & Player CPR (Animated) for FiveM
๐ Table of Contents
- ๐ฏ Overview
- ๐ Purchase Information
- ๐บ Video Showcase
- โ ๏ธ Important Pre-Installation Notes
- ๐ง System Requirements & Compatibility
- ๐ฆ Installation Process
- โ๏ธ Configuration Setup
- ๐ฎ How It Works
- ๐ Integration & Compatibility
- ๐ ๏ธ Troubleshooting
- ๐ก Best Practices
- ๐ Support
๐ฏ Overview
Perform animated CPR on any injured pedestrian and/or player on the street. This resource provides realistic CPR mechanics with configurable options for cooldowns, duration, and survival rates.
Key Features
- โ Animated CPR - Realistic CPR animations for both players and NPCs
- โ Configurable Options - Cooldown, duration, and survival percentage settings
- โ Flexible Targets - Revive players, NPC pedestrians, or both
- โ Realistic Animations - Authentic CPR performance animations
- โ Language Support - Multi-language configuration
- โ Coma & Down System Integration - Optional integration with medical systems
- โ Escrow Protection - Secure resource protection
- โ Standalone - Works independently without framework dependencies
๐ Purchase Information
Get Ped & Player CPR:
Purchase on Nights Software Store
๐บ Video Showcase
Watch the video showcase:
โ ๏ธ Important Pre-Installation Notes
Critical Installation Order: Always follow this exact sequence to avoid parsing errors in the F8 console:
- Download ZIP Package from CFX Portal
- Unpack in a folder on your local machine
- Set File Transfer Protocol (FTP) type to binary
- Drag files from local machine to server resources folder
- Add to server.cfg (ensure script)
- Boot up the server
Support Policy: Follow this guide step by step. If youโre stuck, ask for support in our Discord and provide the specific step name. Do not skip steps.
๐ง System Requirements & Compatibility
Framework Compatibility
- โ Standalone: Works independently without any framework
OneSync Compatibility
- โ OneSync Legacy: Fully tested and compatible
- โ OneSync Infinity: Fully tested and compatible
Integration Support
- โ Coma & Down System - Optional integration available
Note: Ped & Player CPR is designed to work with any FiveM server configuration and provides realistic medical emergency features.
๐ฆ Installation Process
Step 1: Download Resource
Download this resource via CFX Portal Assets after purchasing.
Step 2: Install Resource
- Extract the ZIP package to your local machine
- Transfer files using binary FTP mode to your serverโs resources folder
- Ensure the folder is named
night_ped_cpr
(do not rename)
Step 3: Server Configuration
Add the resource to your server.cfg
:
ensure night_ped_cpr
Step 4: Configure Settings
- Open
/config/config.lua
in your preferred editor - Configure all settings to your liking
- Test the resource functionality
โ๏ธ Configuration Setup
Required Tools
Visual Studio Code: We recommend downloading VS Code for editing Lua files.
Configuration Files
File | Purpose |
---|---|
night_ped_cpr/config/config.lua | Main configuration settings |
night_ped_cpr/client/c_functions.lua | Client-side functions |
night_ped_cpr/server/s_functions.lua | Server-side functions |
Configuration Process
- Open VS Code and navigate to the config files
- Read thoroughly - each line has explanatory comments
- Configure settings - customize cooldowns, duration, and survival rates
- Test frequently - use F8 console for error checking
Medical Settings: Configure cooldown timers, CPR duration, survival percentages, and target types (players/NPCs).
๐ฎ How It Works
CPR Performance
- Animated CPR - CPR animations when performing on injured targets
- Target Selection - Choose between players, NPCs, or both
- Survival Mechanics - Configurable survival rates based on CPR performance
Configuration Options
- Cooldown Settings - Configure time between CPR attempts
- Duration Control - Set how long CPR takes to perform
- Survival Percentage - Adjust the chance of successful revival
- Target Types - Enable/disable CPR on players and/or NPCs
Medical Integration
- Coma & Down System - Optional integration with medical systems
- Realistic Mechanics - Authentic medical emergency procedures
- Animation System - CPR performance animations
User Experience
- Easy Activation - Simple commands or interactions to start CPR
- Visual Feedback - Clear indication of CPR progress and success
- Language Support - Multi-language interface for international servers
- Realistic Gameplay - Authentic medical emergency experience
๐ Integration & Compatibility
Framework Support
- Standalone - Works independently without framework dependencies
- ESX - Compatible with ESX framework integration
- QBCore - Compatible with QBCore framework integration
Medical System Integration
- Coma & Down System - Optional integration for enhanced medical gameplay
- Medical Resources - Compatible with various medical and emergency resources
- Roleplay Enhancement - Enhances medical roleplay scenarios
Server Integration
- Universal Compatibility - Works with any FiveM server setup
- Performance Optimized - Lightweight and efficient
- Easy Integration - Simple setup and configuration
Medical Roleplay: This resource enhances medical roleplay by providing realistic CPR mechanics for both players and NPCs for standalone environments.
๐ ๏ธ Troubleshooting
Common Issues
Resource Not Starting
- Ensure the resource is properly added to server.cfg
- Check that the resource name is
night_ped_cpr
- Verify the resource started without errors in console
CPR Not Working
- Check F8 console for any error messages
- Verify configuration settings in config.lua
- Test with default settings first
Animations Not Playing
- Ensure animation files are properly installed
- Check for any animation-related errors in console
- Verify target selection settings
Debugging Tips
- Check F8 Console - Look for any error messages
- Test CPR on Different Targets - Try both players and NPCs
- Verify Configuration - Check all config settings are correct
- Check Integration - Ensure Coma & Down System is properly configured if using
๐ก Best Practices
Medical Configuration
- Cooldown Settings - Set appropriate cooldowns for server balance
- Survival Rates - Configure realistic survival percentages
- Target Selection - Choose appropriate targets for your server
- Duration Settings - Set realistic CPR performance times
Performance Optimization
- Animation Optimization - Ensure animations run smoothly
- Target Limits - Configure appropriate target restrictions
- Cooldown Management - Balance gameplay with realistic mechanics
- Regular Testing - Test CPR functionality regularly
User Experience
- Clear Instructions - Provide users with CPR usage guidelines
- Medical Training - Offer guidance on proper CPR procedures
- Roleplay Enhancement - Encourage realistic medical roleplay
- Emergency Procedures - Integrate with other medical systems
๐ Support
Read through the instructions again if you have not managed to install the resource. Canโt get it to work still? Create a ticket through our dedicated support system in Discord: