Coder Social home page Coder Social logo

tdworg / samp-include-vehicle Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 11.0 417 KB

A library is a collection of high-quality scripts for vehicles in SA:MP. It adds new functions and systems to work with any vehicles in the game. Besides, they are all optimized.

License: zlib License

Pawn 100.00%
include pawn samp vehicles

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

Watchers

 avatar  avatar  avatar  avatar  avatar

samp-include-vehicle's Issues

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.

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;
}

OnTrailerAttached/OnTrailerDetached

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

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.

Invalid Engine Acceleration data

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

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

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

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

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

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.