thunder-stallExports and Events

Client Exports

GetCollisions

Gets the number of collisions of the current vehicle.

-- return: int -- The number of collisions
local colissions = exports["thunder-stall"]:GetCollisions()

GetCollisionsByPlate

Gets the number of collisions of a vehicle by its plate.

-- param: string -- Plate -- Vehicle's plate
-- return: int -- The number of collisions
local colissions = exports["thunder-stall"]:GetCollisionsByPlate(Plate)