M MY Multiplayer: Wiki
Side
Kind

getVehicleNeonStrips

Shared

Lists the neon strips a vehicle's model has.

table|false getVehicleNeonStrips(vehicle vehicle)

Parameters

NameTypeDescription
vehiclevehicleThe vehicle.

Returns

A table of the strips' names in order: strip number 0 is at position 1. It is empty if the model has no strips. false if it is not a vehicle.

Example

local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
    for i, name in ipairs(getVehicleNeonStrips(vehicle)) do
        outputDebugString((i - 1) .. ": " .. name)
    end
end

See also