IsPlayerCarried
Whether another player or an NPC actor carries the player.
Syntax
Section titled “Syntax”IsPlayerCarried(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if IsPlayerCarried(pid) then return false end -- no teleports for a carried playerSee also
Section titled “See also”GetPlayerCarriedBy · IsPlayerCarrying · the Carrying group of the index
