14.05.2016, 17:07
Are you using AddVehicleComponent to add mods?
Because OnVehicleMod is not called by AddVehicleComponent.
Check this https://sampwiki.blast.hk/wiki/OnVehicleMod
EDIT: If so you can create your custom function to add mods.
Then replace all AddVehicleComponent with AddVehicleComponentEx.
Because OnVehicleMod is not called by AddVehicleComponent.
Check this https://sampwiki.blast.hk/wiki/OnVehicleMod
EDIT: If so you can create your custom function to add mods.
pawn Код:
AddVehicleComponentEx(vehicleid, componentid)
{
AddVehicleComponent(vehicleid, componentid);
SaveVehMods(vehicleid, componentid);
}