OnPlayerLeaveWater

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
OnPlayerLeaveWater

Type: Event
Context: Client
Introduced: v1.0

Description

This function is called when a player leaves the water.

Syntax

OnPlayerLeaveWater()

Example

AddEvent("OnPlayerLeaveWater", function ()
    AddPlayerChat("You have left the ocean.")
end)

See also