OnClientMinimize

From Multi Theft Auto: Wiki
Revision as of 11:47, 17 January 2016 by AlexTMjugador (talk | contribs) (The event is complete now, so there is no need to include it in that category)
Jump to navigation Jump to search

This event is triggered when the local player minimizes the game screen.

Parameters

None

Example

This example kills any player who minimizes the game.

function handleMinimize()
    setElementHealth( localPlayer, 0 )
end
addEventHandler( "onClientMinimize", root, handleMinimize )

See Also

Other client events


Client event functions