- Dokumentacja
- Funkcje wspólne
- getVehicleProofs
Funkcja
getVehicleProofs
Nowa funkcja!Dodana do Trilogy Hub 02.11.2026.
Zwraca tabelę odporności pojazdu ustawionych przez setVehicleProofs.
Składnia
table getVehicleProofs(vehicle vehicle)Argumenty
vehiclevehicle- Pojazd.
Zwraca
{ bullets, fire, explosion, collisions, melee } z wartościami true/false.
Przykład
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle and getVehicleProofs(vehicle).bullets then
outputChatBox("To auto jest kuloodporne")
end