Module core.plugins.vehicles.sv_towtruck
Towtruck Modules (Serverside)
Module Overview
Functions
| changeropelen(veh, change) | Change the length of a towtruck's rope. |
| spawntowsystem(ply, veh) | Spawn a winch system on a tow truck when spawned. |
| PLUGIN.MakeVehicleWinch(ply, veh) | Add a vehicle winch to a vehicle automatically on spawn. |
| PLUGIN.DoMakeVehicleWinch(ply, veh) | Attach a winch to a vehicle. |
| INVENTORY_DoVehicleWinches(ply) | Function to attach a winch to the vehicle the player is looking at. |
- changeropelen(veh, change)
-
Change the length of a towtruck's rope.
Parameters:
- veh The towtruck.
- change The amount to change by.
- spawntowsystem(ply, veh)
-
Spawn a winch system on a tow truck when spawned.
Parameters:
- ply The player spawning the vehicle.
- veh The vehicle entity.
- PLUGIN.MakeVehicleWinch(ply, veh)
-
Add a vehicle winch to a vehicle automatically on spawn.
Parameters:
- ply The player spawning the vehicle.
- veh The vehicle being spawned.
- PLUGIN.DoMakeVehicleWinch(ply, veh)
-
Attach a winch to a vehicle.
Parameters:
- ply The player requesting the winch.
- veh The vehicle to attach the winch to.
- INVENTORY_DoVehicleWinches(ply)
-
Function to attach a winch to the vehicle the player is looking at.
Parameters:
- ply The player requesting the winch.