ChangeVehiclePaintjob Sk
From SA-MP Wiki
Description:
Táto funkcia umožňuje dať paintjob na vaše auto. Zvyčajne sú tri paintjoby: 0,1 a 2, ale ID v rozmedzí 0 až 5 by malo fungovať.
(vehicleid, paintjobid)
vehicleid | ID vozidla, na ktoré chcete dať paintjob. |
paintjobid | Paintjob, ktorý chcete použiť. Paintjob s ID 0 a všetky ktoré nie sú použiteľné, vymažú paintjob, ktorý máte na vašom vozidle. |
Return Values:
This function does not return any specific values.
ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 2); // Zmení paintjob na vozidle, v ktorom hráč sedí.
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- ChangeVehicleColor: Set the color of a vehicle.
Related Callbacks
The following callbacks might be useful, as they're related to this function in one way or another.
- OnVehiclePaintjob: Called when a vehicle's paintjob is changed.