getLightType | Multi Theft Auto: Wiki Skip to content

getLightType

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function returns the type for a light element.

Syntax

getLightType ( )

Code Examples

client
local light = createLight(1, 2, 3, 4)
outputChatBox("light type " .. getLightType(light))