23.02.2015, 01:25
Amigo tienes que agregar esta funciуn ManualVehicleEngineAndLights(); bajo la publica OnGameModeInit() ,luego tienes que hacer un cуdigo como por ejemplo para encender el motor
Te dejo el link de la funciуn https://sampwiki.blast.hk/wiki/ManualVehicleEngineAndLights por si tienes alguna duda.
Код:
new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicleid, 1, 1, alarm, doors, bonnet, boot, objective); // Encendiendo el motor y las luces