Giter VIP home page Giter VIP logo

samp-include-vehicle's Introduction

TDW Vehicle libraries

TDW Vehicle Libraries

A collection of libraries for vehicles in SA:MP. The collection contains systems that have many features.

Getting started

  1. Download the library.
  2. All files move into the folder 'pawno/include'. Also, you can use the flag '-i' to specify an alternative path.
  3. Include it in your script:
#include <a_samp>
#include <tdw_vdamage>

Developing

git clone [email protected]:TDW-org/samp-include-vehicle.git <folder_name>
cd <folder_name>

Contributing

If you'd like to contribute, please fork the repository and use a feature branch.

Licensing

The code in this project is licensed under ZLIB license.

samp-include-vehicle's People

Contributors

kashcherry avatar ronixtey avatar vvwvv avatar ziggi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

samp-include-vehicle's Issues

OnTrailerAttached/OnTrailerDetached

How about adding OnTrailerAttached and OnTrailerDetached callbacks?
Imo it would be very useful
_
Как насчёт добавления калбеков OnTrailerAttached и OnTrailerDetached?
По моему это было бы очень полезно

IsVehicleOccupied

stock IsVehicleOccupied(vehicleid)
{
if (IsValidVehicle(vehicleid)) {
#if defined _TDW_VH_DETECT_FOREACH
foreach (new i: Vehicle) // Цикл идет по тачкам, а не по игрокам
#else
for (new i = TDW_FOREACH_MAX_VEHICLES; --i != 0;)
#endif
{
if (0 != IsPlayerInVehicle(i, vehicleid))
return 1;
}
}
return 0;
}

Нулевой ID в циклах для игроков

https://github.com/TDW-org/samp-include-vehicle/blob/61f74386a13d6aaf51103b4cf545159b3f06d016/tdw_vyradar.inc#L397

На данной строке (и на всех подобных, где есть циклы именно для игроков), насколько я понимаю, ошибка: такая проверка игнорирует нулевой ид игрока и цикл выполняется для всех, кроме этого самого 0 id'а.

Add new library - vhs_garages

The system of the garages... I'll use the SA:MP SQLite database and file system for loading/unloading information.

HELP!

It's not a problem but how do I extract the direction in which a vehicle is moving?

+ ADD component get position

Optimizing component positions for further maximizing utility of these items

like creating 3dtext for mechanic for component status damage

with this we can make better RP mechanic job

Invalid Engine Acceleration data

Собственно, как минимум, значения в данном столбце не совпадают с тем, что представлено в handling.cfg
Сделано это намеренно (и если так, то зачем) или случайно?

Neon system

This system will add functions to add neons. Besides, you will be able to change the colors.

First version for release

I hope you know that the version of the library is beta. So I want to transfer the project to the release version.

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.