(playerid, vehicleid, paintjobid)
playerid
The ID of the player that changed the paintjob of their vehicle.
vehicleid
The ID of the vehicle that had its paintjob changed.
paintjobid
The ID of the new paintjob.
- This callback is not called by ChangeVehiclePaintjob.
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
new string[128];
format(string, sizeof(string), "You have changed your vehicle's paintjob to %d!", paintjobid);
SendClientMessage(playerid, 0x33AA33AA, string);
return 1;
}
The following functions might be useful, as they're related to this callback in one way or another.
The following callbacks might be useful as well, as they are related to this callback in one way or another.