IsPlayerCarrying
Whether the player carries a body or another player.
Syntax
Section titled “Syntax”IsPlayerCarrying(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean - true from the start of the grab to the end of the put-down
Example
Section titled “Example”if IsPlayerCarrying(pid) then SendClientMessage(pid, COLOR_RED, "Not while you carry someone.") return true endSee also
Section titled “See also”GetPlayerCarrying · IsPlayerCarried · the Carrying group of the index
