Lua script for attaching a winch between vehicles in a game environment.
This Lua script enables the attachment of a winch between vehicles in the game environment. It provides various commands to attach the winch at different points on the vehicles.
- Download the script files.
- Place the script files in the appropriate directory in your game server.
- Launch the game server.
- Execute the Lua script.
- Use the provided commands to attach the winch between vehicles.
The following commands are available:
Command | Description |
---|---|
/ffwinch | Attach winch from the front to the front of the vehicle (engine to bumper). |
/flwinch | Attach winch from the front left wheel to the front left wheel of the vehicle. |
/frwinch | Attach winch from the front to the front right bumper. |
/frwwinch | Attach winch from the front right wheel to the front right wheel of the vehicle. |
/lfwwinch | Attach winch from the front to the left front window. |
/rfwinch | Attach winch from the right front bumper to the front of the vehicle. |
/rfwwinch | Attach winch from the front to the right front window. |
/rrwinch | Attach winch from the right rear bumper to the right rear bumper of the vehicle. |
Feel free to contribute by opening issues or submitting pull requests.