Can work be used to impound vehicles, prevent players who have not played games for a long time from parking their vehicles for extended periods of time, and increase server operating resources
Script updated to add automatic impound upon server restart if the player’s vehicle was parked for more than the set delay in config file (you can set it to -1 if you don’t want the vehicle to ever despawn) @rpm9000 I finally had the time to develop it !
Hey, I just release an update for the mth-park script and here is the details :
You can now overwrite the existing getter and setter for the vehicle props (see client/cl_editable.lua)
You can now choose to spawn the vehicle instead of a generic covered vehicle (set the Config.prop to nil)
Fixed the blips not deleting in some edge cases
Added functions to check if the player can park or retrieve a specific vehicle (useful if you want police players to retrieve any vehicle for example or if you want to check for keys) - See server/sv_editable.lua
Added config to choose if the props have collisions
Added an event fired on the server side when a car is parked or retrieved (see the Readme.md)