OnPlayerKnockedOut
The player was knocked out.
After SetPlayerKnockedOut (also a second call that only sets the timer anew does not run it again). A carry the player made
ends first (OnPlayerCarryEnd with "mode").
Syntax
Section titled “Syntax”function OnPlayerKnockedOut(pid) -- ...end| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”function OnPlayerKnockedOut(pid) SendClientMessage(pid, COLOR_SERVER, "You were knocked out.")endSee also
Section titled “See also”OnPlayerWake · SetPlayerKnockedOut · the Carrying group of the index
