Skip to content

Leah-UK/bixbi_hospitaltp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Information

Bixbi_HospitalTP is a simple teleport to hospital script.

You can define how long to send someone to hospital for (with a max duration). You can also define in the config if they should be given items for their stay, such as food. Finally, there's the ability to check the range of the player from the "hospital", if they get too far away it will teleport them back.


Requirements


Exports

Client

Send to Hospital

TriggerEvent('bixbi_hospitaltp:Send', duration, location) -- sent from client
TriggerClientEvent('bixbi_hospitaltp:Send', source, duration, location) -- sent from server

Release from Hospital

TriggerEvent('bixbi_hospitaltp:Release') -- sent from client
TriggerClientEvent('bixbi_hospitaltp:Release', source) -- sent from server

Feel free to modify to your liking. Please keep my name (Leah#0001) in the credits of the fxmanifest. If your modification is a bug-fix I ask that you make a pull request, this is a free script; please contribute when you can.

About

FiveM Hospital Teleport Script - for RP servers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages