OnPlayerLeaveWater

From Onset Developer Wiki
Revision as of 18:07, 16 January 2020 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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