GetVehicleDamageStatus TR

From SA-MP Wiki

Revision as of 22:25, 13 August 2010; view current revision
←Older revision | Newer revision→
Jump to: navigation, search



GetVehicleDamageStatus TR was added in SA-MP 0.3a This Callback was added in SA-MP 0.3a and will not work in earlier versions!


Description:

Bu fonksiyon aracın belirli bölgelerindeki hasar durumunu verir.


Parameters:
(vehicleid, &panels, &doors, &lights, &tires)
vehicleidHasar bilgisi alınacak aracın ID numarası.
panelsAracın panellerindeki hasar durumu.
doorsAracın kapılarındaki hasar durumu.
lightsAracın farlarındaki hasar durumu.
tiresAracın tekerleklerindeki hasar durumu.


new panels,doors,lights,tires;
GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
printf("Araç Hasar Durumu : [ID] : %d - [Paneller] : %d - [Kapılar] : %d - [Farlar] : %d - [Tekerler] : %d", vehicleid, panels, doors, lights, tires);

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.