ChangeVehiclePaintjob Sk

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
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ť.


Parameters:
(vehicleid, paintjobid)
vehicleidID vozidla, na ktoré chcete dať paintjob.
paintjobidPaintjob, 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.


ReturnsThis 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.


Related Callbacks

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

Personal tools
In other languages