🩺Veterinary System
🩺 Veterinary System
📋 Overview
The Veterinary System introduces complete pet healthcare to your server. Veterinarians can revive dead pets on-the-spot with Quick Heal or provide comprehensive treatment using Treatment Tables that restore health, hunger, and thirst.
Perfect for:
🏥 Medical roleplay opportunities
🐕 Pet owner immersion
💼 Veterinarian job content
🎭 Emergency pet rescue scenarios
✨ Key Features
💉 Quick Heal
Emergency revival for dead pets with partial HP recovery
🛏️ Treatment Tables
Full medical care restoring HP, hunger, and thirst to 100%
🎮 Dual Interaction
Choose between DrawText or Target/Raycast systems
🏗️ In-Game Setup
Place treatment tables directly with /pscreator command
Complete Feature List
✅ Quick Heal - Revive dead pets instantly with configurable HP recovery
✅ Treatment Tables - Full medical care with hunger/thirst restoration with configurable configs
✅ DrawText Support - Press E/K/L prompts for interactions with configurable keybinds
✅ Target Support - ox_target/qb-target or custom target from lib
✅ Custom Animations - Configure treatment animations and durations
✅ Permission System - Job-based veterinarian access control
✅ Owner Notifications - Inform pet owners when their pet is treated
✅ Anti-Spam Protection - Prevents treatment spam and conflicts
✅ In-Game Creator - Place tables without database editing
✅ Fully Localized - All text customizable in language files
🎮 How to Use
Bringing Your Pet to the Vet

Step-by-Step:
Locate Veterinary Clinic
Find a pet shop with treatment tables
Look for 🏥 icon on map (configured by admin)
Spawn Your Pet
Open pet bag:
/petbagorTABSelect your pet
Spawn it near the clinic
Place Pet on Table
DrawText Mode: Stand near table, press
K(default)Target Mode: Look at table, select "Place Pet on Table"
Pet must be within 5 meters of table
Pet must be alive (dead pets can't be placed)
Wait for Treatment
Veterinarian will approach table
Treatment takes ~5 seconds
Notification appears when complete
Remove Pet from Table
DrawText Mode: Press
L(default)Target Mode: Select "Remove Pet from Table"
Pet appears next to you, fully healed!
What Gets Restored?
Treatment Table (Full Treatment):
❤️ Health: Restored to 100% (configurable)
🍖 Hunger: Restored to 100% (configurable)
💧 Thirst: Restored to 100% (configurable)
Quick Heal (Emergency Only) Only for dead pets found on the streets or in public places:
❤️ Health: Restored by 25% (configurable)
🍖 Hunger: Not restored
💧 Thirst: Not restored
Quick Heal (Emergency Revival)

When to use:
Pet is dead on the ground
Owner needs immediate help
No treatment table available
How it works:
Find Dead Pet
Look for unconscious pet on ground
Pet owner may call for help
Approach Pet
Get within 3 meters (configurable)
System detects you're a veterinarian
Revive Pet
DrawText Mode: Press
Ewhen prompt appearsTarget Mode: Look at pet, select "Revive Pet"
Healing Animation
Veterinarian plays kneeling animation
Takes ~3 seconds (configurable)
Pet Revived!
Pet stands up with 25 HP (configurable)
Owner receives notification
You receive confirmation message
Treatment Table (Full Medical Care)

When to use:
Pet needs full restoration
Owner brought pet to clinic
Scheduled appointments
How it works:
Locate Treatment Table
Find table with pet placed by owner
Look for pet sitting on table
Approach Table
Get within 2 meters (configurable)
System detects veterinarian status
Start Treatment
DrawText Mode: Press
Ewhen prompt appearsTarget Mode: Select "Treat Pet on Table"
Treatment Animation
Veterinarian plays repair/examination animation
Takes ~5 seconds (configurable)
Pet remains sitting on table
Treatment Complete!
Pet fully restored (100 HP, hunger, thirst)
Owner receives detailed notification
Pet can now be removed by owner
Permission Requirements
To access veterinary features:
Grade:
⚙️ Configuration
Complete Configuration Structure
Configuration Options Explained
Quick Heal Recovery
When Used: Emergency revival of dead pets
Purpose: Quick Heal is meant for emergencies, not full restoration.
Table Treatment Recovery
When Used: Full medical treatment on treatment tables
Purpose: Complete medical care that fully restores the pet.
Quick Treatment Animation
Played when: Veterinarian revives a dead pet
Options:
dict
Animation dictionary
Medical/kneeling animations
anim
Animation name
Examination/treatment anims
flag
Animation flag
1 = normal
duration
Animation length
2000-5000ms
Alternative Animations:
Sitting Medic:
Table Treatment Animation
Played when: Veterinarian treats pet on table
Recommended Duration: 4000-7000ms (4-7 seconds)
Alternative Animations:
Clipboard Examination:
Maximum Heal Distance
What it controls: How close veterinarian must be to revive dead pet
Examples:
1.5
Very close, realistic
Roleplay-heavy servers
3.0
Comfortable range (default)
Most servers
5.0
Generous range
Busy/casual servers
Table Interaction Distance
What it controls: How close player must be to interact with treatment table
Examples:
1.5
Must be very close to table
2.0
Comfortable range (default)
3.0
Can interact from further away
Choose Your System
Quick Heal Interaction:
Table Interaction:
Notification Toggles
Control which notifications appear to players:
Set to false to disable specific notifications.
Notification Timing
ShowQuickHealStart
Vet starts reviving
Veterinarian
ShowQuickHealSuccess
Pet successfully revived
Veterinarian
ShowQuickHealToOwner
Pet revived by vet
Pet Owner
ShowTableTreatStart
Vet starts table treatment
Veterinarian
ShowTableTreatSuccess
Treatment complete
Veterinarian
ShowTableTreatToOwner
Pet treated on table
Pet Owner
ShowPlacePetSuccess
Owner places pet on table
Pet Owner
ShowRemovePetSuccess
Owner removes pet from table
Pet Owner
Keybind Configuration
Used only when DrawText mode is enabled.
Common Key Codes
E
38
Quick Heal, Table Heal
K
311
Place Pet on Table
L
182
Remove Pet from Table
Key Conflict Prevention
Avoid these keys:
❌ W, A, S, D - Movement ❌ SHIFT - Sprint ❌ CTRL - Crouch ❌ SPACE - Jump ❌ LEFT MOUSE - Attack ❌ RIGHT MOUSE - Aim ❌ R - Reload ❌ ESC, TAB, ENTER - Menus ❌ F1-F3 - Phone/radio (common)
🎯 Interaction Methods Comparison
DrawText vs Target
Setup
No dependencies
Requires ox_target/qb-target
Visual
Text prompt on screen
Icon on raycast
Activation
Press key (E, K, L)
Look + click/key
Conflicts
Possible key conflicts
No key conflicts
Immersion
Text blends naturally
Icon more obvious
Best For
Roleplay servers
Target-heavy servers
💡 Best Practices
For Server Owners
Setting Up Clinics:
Location Selection
Choose accessible locations (near roads)
Consider adding map blips for visibility
Multiple locations encourage activity
Table Placement
Space tables 2-3 meters apart
Face tables toward clinic entrance
Place 2-4 tables per clinic
Job Configuration
Set appropriate veterinarian grades
Balance pay with responsibility
For Veterinarians
Professional Roleplay:
Quick Heal (Emergency):
Assess the situation (ask owner what happened)
Explain you're providing emergency care
Mention pet needs full treatment later
Perform revival animation
Advise owner to visit clinic
Table Treatment (Full Care):
Greet the pet owner
Examine the pet (roleplay the animation)
Discuss findings ("Pet is dehydrated...")
Perform treatment
Give care instructions ("Keep pet fed/watered")
For Pet Owners
Seeking Treatment:
Notice Pet Needs Care
Low HP, hunger, or thirst
Pet is dead/unconscious
Locate Veterinarian
Check job list or ask in chat
Call for help if emergency
Bring Pet to Clinic
Spawn pet near clinic
Place on treatment table
Wait for veterinarian
After Treatment
Thank the veterinarian
Pay (if using payment system)
Remove pet from table
⚠️ Troubleshooting
DrawText Not Appearing
Problem: No text prompt shows when near pet/table
Solutions:
✅ Verify
UseDrawTextForQuickHealorUseDrawTextForTablesistrue✅ Check you're within interaction distance
✅ Reconnect to server (DrawText initializes on join)
✅ Verify you have veterinarian permissions (for vet actions)
✅ Check pet is dead (for Quick Heal) or alive (for table placement)
Target Not Working
Problem: No target icon appears when looking at pet/table
Solutions:
✅ Verify
UseDrawTextForQuickHealorUseDrawTextForTablesisfalse✅ Ensure target system is installed (ox_target, qb-target or custom (cdev_lib))
✅ Check target system is started before cdev_pets
✅ Verify target system is configured correctly
✅ Look directly at the pet/table (raycast required)
✅ Check you have veterinarian permissions
Can't Place Pet on Table
Problem: "Place Pet" option doesn't work or doesn't appear
Solutions:
✅ Pet must be spawned (not in bag) - use
/petbagfirst✅ Pet must be alive - dead pets cannot be placed
✅ Pet must be nearby - within 5 meters (DetectionDistance)
✅ Table must be empty - no other pet on the table
✅ You must own the pet - can't place other players' pets
✅ Check you're within TableInteractionDistance (2m default)
Can't Treat Pet
Problem: "Treat Pet" option doesn't work
Solutions:
✅ Must be a veterinarian - Check job and grade
✅ Pet must be on table - Owner must place it first
✅ Can't already be treating - Wait for current treatment to finish
✅ Table must have pet - Verify pet is actually sitting on table
✅ Check you're within TableInteractionDistance (2m default)
Treatment Animation Doesn't Play
Problem: No animation or wrong animation plays
Solutions:
✅ Verify animation dict/name are correct in config
✅ Check animation duration isn't too short (<1000ms)
✅ Test animation manually with
/ecommand✅ Ensure animation isn't blocked by other resources
✅ Try a different animation (see configuration tab)
Testing Animations:
Pet Doesn't Revive
Problem: Quick Heal animation plays but pet stays dead
Solutions:
✅ Check
HealthRecoverin config is > 0✅ Verify pet is actually dead (not just low HP)
✅ Check server console for errors
✅ Verify pet sync event is firing (check F8 console)
Owner Doesn't Get Notification
Problem: Owner doesn't see "Pet was healed" message
Solutions:
✅ Check
ShowQuickHealToOwnerorShowTableTreatToOwneristrue✅ Verify notification system is working (test with other notifications)
✅ Check owner is online and in range
✅ Ensure pet ownership is correctly stored in database
❓ FAQ
Last updated


