getHeatHaze | Multi Theft Auto: Wiki Skip to content

getHeatHaze

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 will return the current heat haze effect settings.

Syntax

getHeatHaze ( )

Code Examples

server

This example outputs current heat haze settings to the chat when player uses command 'get_haze'.

addCommandHandler( 'get_haze',
function( )
local tNew = { getHeatHaze ( ) }
outputChatBox(
string.format(
'intensity = %s ;randomShift = %s ;speedMin = %s ;speedMax = %s ;scanSizeX = %s ;scanSizeY = %s ;renderSizeX = %s \
;renderSizeY = %s ;bShowInside = %s ;', unpack( tNew )
)
)
end
)

See Also

World Functions