Giter Site home page Giter Site logo

zerodream_towing's Introduction

ZeroDream Towing

Vehicle towing system for FiveM

Screenshots

Features

  • Towing cars
  • Network synchronized ropes
  • Controllable rope length
  • No framework require

Installation

  1. Clone or download this repo
  2. Copy the zerodream_towing folder to your server resources folder
  3. Add start zerodream_towing to your server.cfg
  4. Restart the server

API

SetTowVehicle: Use this function to set the towing car, you have to call it two times to set the first and second vehicle.

local vehicleA = GetVehiclePedIsIn(GetPlayerPed(-1), false)
local vehicleB = GetVehiclePedIsIn(GetPlayerPed(2), false)
exports["zerodream_towing"]:SetTowVehicle(vehicleA)
exports["zerodream_towing"]:SetTowVehicle(vehicleB)

FreeTowing: This function will detach the cars immediately.

if IsControlJustPressed(0, 51) then
  exports["zerodream_towing"]:FreeTowing()
end

Credit

PocceMod: https://github.com/razzie/PocceMod

License

zerodream_towing - Vehicle towing script for FiveM

Copyright (C) 2022 Akkariin

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.

You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.

zerodream_towing's People

Contributors

kasuganosoras avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.