ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getVehicleProofs

Function

getVehicleProofs

New function!Added to Trilogy Hub on 2 Nov 2026.

Server and clientVehiclesTrilogy Hub only

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

See also