Skip to content

IsPedFootBloodEnabled

Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function checks if player feets are bleeding.

Syntax

bool IsPedFootBloodEnabled ( ​element thePlayer )
Required arguments
  • thePlayer: The player to give bloody foot prints to.

Returns

Returns true if feets are bleeding, false otherwise

  • bool: value

Code Examples

shared
addCommandHandler("bleeding", function()
local bleeding = isPedFootBloodEnabled(localPlayer)
outputChatBox("I am " .. (not bleeding and "not" or '') .. " bleeding")
end)

See Also