ChangeVehiclePaintjob Sk
From SA-MP Wiki
(Difference between revisions)
| Revision as of 11:13, 22 February 2011 Norton32 (Talk | contribs) ← Previous diff |
Current revision LaZ (Talk | contribs) |
||
| Line 20: | Line 20: | ||
| {{OnVehiclePaintjob}} | {{OnVehiclePaintjob}} | ||
| - | [[Category:Scripting Functions]] | + | |
| [[ru:ChangeVehiclePaintjob]] | [[ru:ChangeVehiclePaintjob]] | ||
Current revision
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. |
| Returns | This function doesn't return a specific value |
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.
