← Scripts y librerías
devbluen/VehiclePlus
This is an include that already has several spread throughout the samp. However, I reworked some features, I hope you enjoy it.
Librería★ 2actualizado jul 2026Sin licenciaPawn
Abrir en GitHubEste repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.
Probar en el compilador de Pawn →
Añade sus archivos include, con las librerías de las que depende, al compilador de Pawn de tu navegador, listos para incluirlos en un 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);
Esta página se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha