samp.directory
← Scripts and libraries

devbluen/VehiclePlus

This is an include that already has several spread throughout the samp. However, I reworked some features, I hope you enjoy it.

Library★ 2updated Jul 2026No licencePawn
Open on GitHub

This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

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

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

devbluen/VehiclePlus: SA-MP Library | samp.directory