core.plugins.vehicles.sv_towtruck
Towtruck Modules (Serverside)
- Serverchangeropelen(veh, change)Source ☍
-
Change the length of a towtruck's rope.
Parameters
- vehanyThe towtruck.
- changeanyThe amount to change by.
- ServerINVENTORY_DoVehicleWinches(ply) → booleanSource ☍
-
Function to attach a winch to the vehicle the player is looking at.
Parameters
- plyanyThe player requesting the winch.
Returns
- boolean
- Serverspawntowsystem(ply, veh)Source ☍
-
Spawn a winch system on a tow truck when spawned.
Parameters
- plyanyThe player spawning the vehicle.
- vehanyThe vehicle entity.