RaceTrack

RaceTrack 0.3.3

Added RHIB to vehicle choices
Reset metabolism when finishing the race
Don't try and restore player if they disconnected, so when they come back online they get their gear back
Probably fixed the spectate error (unable to test with other players atm)
Destroy the track checkpoints over time instead of all at once
Fixed race ending when first player crosses the finish line
Fixed errors arising from players who disconnect during a race
Fixed incorrect fuel ID causing errors for boat races
Added BoatCommander support
This update requires Oxide version 2.0.3962 or higher!

Updated for hook argument order change
Lowered speed of track creation to minimise server load when spawning checkpoints (roughly 0.5-1 seconds per checkpoint)
Fix CarCommander support
Added new race type for boats
Added time parameter to trackdata to limit how long a race can go on without anyone winning
Players spectating other racers will pick a new spectate target if that player leaves
Updated Economics hook to current version
  • Like
Reactions: Murachevao
Switched pillars with low walls for checkpoints
Changed hook to fix blacklisted commands
Destroy plugin instance on unload
Added ability to change font size in lang file for global messages