Skip to content

IsPlayerCrouching

Whether a player is crouching.

IsPlayerCrouching(pid)
Parameter Type
pid number the player

boolean - true while their stance is STANCE_CROUCHING; false when not connected

if IsPlayerCrouching(pid) then SendClientMessage(pid, COLOR_GOLD, "You move quietly.") end

GetPlayerStance · OnPlayerStanceChange · the Players group of the index