Stable2.1.3
UPDATE
- Fixed a rare problem with initializing too soon.
Stable2.1.2
UPDATE
- Fixed a performance issue where FPS drops when selecting a vehicle on the fine tablet.
Updated file: lua/weapons/ch_tow_fine_tablet/shared.lua
Stable2.1.1
UPDATE
- Added a config to make the player automatically enter the tow truck immediately.
- Config option
CH_TowTruck.Config.AutoEnterTowTruckOnRetrival - Added proper instructions to the fine tablet swep.
- Added a cooldown feature for calling tow services to avoid players abusing it.
- Config option to set cooldown time
CH_TowTruck.Config.CallServiceCooldown - Added support for my newest Mayor addon for tow fines. https://www.gmodstore.com/market/view/mayor-taxes-vault-laws-leaderboards-licenses-more
- Fixed not deducting the percentage given to mayor from the money the tow driver receives on fines.
Stable2.1.0
UPDATE
- Fixed a problem where players could sell their tow truck resulting in a snowball effect of issues.
Stable2.0.9
UPDATE
- Added Simfphys support.
- There is now a
Classvariable for every tow truck in the config. - It defaults to
prop_vehicle_jeep, but if you want to use a Simfphys vehicle just replace it with the entity name of the simfphys vehicle. - Fixed a possible error when picking up the tow truck with physgun if not using a proper prop protection addon.
- Removed config
CH_TowTruck.Config.UsingMayorSystemsince detection of mayoral systems are now automatic. - Added
CH_TowTruck.Config.EnableMayorPercentageto enable/disable the percentage instead. - Added support for giving percentage to Slawer Mayor if enabled.
- Minor UI adjustments.
- Replaced the close button material.
- Hovering the close button now makes it red.
- Adjusted position of menu title and close button slightly.
- Cached ScrW and ScrH for optimization.
- Renamed a lot of variables for uniqueness and consistency.
Stable2.0.8
UPDATE
- Fixed pyramids in code.
- Stored NPC entity in a variable to remove FindByClass loops.
- Fixed the "vehicle towed" hud staying on vehicles if anyone else than the owner of the vehicle paid the fine.
- Other minor fixes and optimization to the code.
- You can now spawn tow trucks from your own car dealer and they will work properly.
- You still need to configure them as usual in this addon, but you don't need to use the NPC.
Stable2.0.7
UPDATE
- Fixed a bug where it would not detect new tow trucks if the model path had capitalized letters.
Updated file: lua/ch_tow_truck/server/tow_setup.lua
Stable2.0.6
UPDATE
- Added a cap to the npc 3d2d text that says "Hey <player name>", so it cannot go outside the frame.
Updated file: lua/entities/ch_towtruck_npc/cl_init.lua
Stable2.0.5
UPDATE
- Added distance check security when spawning tow truck from NPC.
Updated file: lua/ch_tow_truck/server/tow_truck.lua
Stable2.0.4
UPDATE
- Added compatibility with aPhone
- Sends players a text message when their vehicle is towed and fined.
- Sends all tow truck drivers a text message when a vehicle is marked for towing service.
Stable2.0.3
UPDATE
- Fixed a problem with fining vehicles.
- Fixed not kicking out players from vehicles sometimes.
Reinstall the addon, but you can save your config file!
Stable2.0.2
UPDATE
- Fixed some generic names.
- Added IsValid check before creating tow truck entity.
- Other minor fixes.