OnVehicleMod

From SA-MP Wiki

Jump to: navigation, search

OnVehicleMod


This callback is called when a vehicle is modded.


Parameters:
(playerid, vehicleid, componentid)
playeridID of the player who is actually sitting in the car.
vehicleidID of the vehicle which is modded.
componentidThe componentid which was added to the car.


public OnVehicleMod(playerid,vehicleid,componentid)
{
    printf("Vehicle %d was modded by ID %d with the componentid %d",vehicleid,playerid,componentid);
    return 1;
}

Related Functions

The following functions might be useful, as they're related to this callback in one way or another.


Related Callbacks

The following callbacks might be useful as well, as they're related to this callback in one way or another.

Personal tools