← Скрипты и библиотеки
devbluen/VehiclePlus
This is an include that already has several spread throughout the samp. However, I reworked some features, I hope you enjoy it.
Библиотека★ 2обновлён июль 2026 г.Без лицензииPawn
Открыть на GitHubВ этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.
README.md
🚓 VEHICLE PLUS
If you have any problems or bugs, call me on discord or open an issue in this repository.
📝 New Functions [ENG/PT-BR]
SetVehicleColor(vehicleid, color1, color2)
SetVehicleEngine(vehicleid, bool:status) OR SetVehicleMotor(vehicleid, bool:status)
SetVehicleDoorLock(vehicleid, bool:status) OR SetVehiclePorta(vehicleid, bool:status)
SetVehicleLights(vehicleid, bool:status) OR SetVehicleLuz(vehicleid, bool:status)
SetVehicleAlarm(vehicleid, bool:status) OR SetVehicleAlarme(vehicleid, bool:status)
SetVehicleBonnet(vehicleid, bool:status) OR SetVehicleCapo(vehicleid, bool:status)
SetVehicleBoot(vehicleid, bool:status) OR SetVehiclePortaMalas(vehicleid, bool:status)
//
GetVehicleColor(vehicleid, &color1, &color2 = (optional))
GetVehicleStatusEngine(vehicleid) OR GetVehicleStatusMotor(vehicleid)
GetVehicleStatusDoor(vehicleid) OR GetVehicleStatusPorta(vehicleid)
GetVehicleStatusLight(vehicleid) OR GetVehicleStatusLuz(vehicleid)
GetVehicleStatusAlarm(vehicleid) OR GetVehicleStatusAlarme(vehicleid)
GetVehicleStatusBonnet(vehicleid) OR GetVehicleStatusCapo(vehicleid)
GetVehicleStatusBoot(vehicleid) OR GetVehicleStatusPortaMalas(vehicleid)
//
IsVehicleFlyingVehicle(modelid)
IsVehicleBoat(modelid)
IsVehicleBike(modelid)
IsVehicleMotorcycle(modelid)
IsVehicleTruck(modelid)
IsVehicleBus(modelid)
IsVehicleHelicopter(modelid)
IsVehicleTrain(modelid)
IsVehicleLand(modelid)
IsVehicleCar(modelid)
//
GetVehicleTopSpeed(vehicleid)
GetVehicleTopSpeedModel(model)
🫧 New Callbacks
public OnVehicleConnect(vehicleid);
public OnVehicleDisconnect(vehicleid);
public OnVehicleColorUpdate(vehicleid, color1, color2);
public OnVehiclePlateUpdate(vehicleid, const newplate[]);
//
public OnVehicleBonnetUpdate(vehicleid, bool:status); // Capô
public OnVehicleBootUpdate(vehicleid, bool:status); // Porta Malas
public OnVehicleEngineUpdate(vehicleid, bool:status);
public OnVehicleDoorsUpdate(vehicleid, bool:status);
public OnVehicleLightsUpdate(vehicleid, bool:status);
public OnVehicleAlarmUpdate(vehicleid, bool:status);
Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью