IsPedFootBloodEnabled | Multi Theft Auto: Wiki Skip to content

IsPedFootBloodEnabled

Client-side
Server-side
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

  • bool: value

Returns true if feets are bleeding, false otherwise

Code Examples

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

See Also