OnClientVehicleDrown

From Multi Theft Auto: Wiki
Revision as of 02:59, 26 September 2012 by Jaysds1 (talk | contribs) (→‎Parameters)
Jump to navigation Jump to search

This event is triggered when a vehicle starts to drown in a water.

Parameters

This event has no parameters.

Source

The source of this even is the vehicle that is drowning.

Example

addEventHandler("onClientVehicleDrown",root,function()
     outputChatBox("Vehicle: "..getVehicleName(source).." is drowning!")
end)

See Also

Client vehicle events


Client event functions