- Documentation
- Shared functions
- getVehicleProofs
Function
getVehicleProofs
New function!Added to Trilogy Hub on 2 Nov 2026.
Returns the vehicle immunity table set by setVehicleProofs.
Syntax
table getVehicleProofs(vehicle vehicle)Arguments
vehiclevehicle- The vehicle.
Returns
{ bullets, fire, explosion, collisions, melee } with true/false values.
Example
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle and getVehicleProofs(vehicle).bullets then
outputChatBox("To auto jest kuloodporne")
end