Skip to content

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").

function OnPlayerKnockedOut(pid)
-- ...
end
Parameter Type
pid number the player

nothing

function OnPlayerKnockedOut(pid)
SendClientMessage(pid, COLOR_SERVER, "You were knocked out.")
end

OnPlayerWake · SetPlayerKnockedOut · the Carrying group of the index