IsPedFootBloodEnabled

From Multi Theft Auto: Wiki

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

Example

This example prints whenever players feets are bleeding

Click to collapse [-]
Client
addCommandHandler("bleeding", function()
    local bleeding = isPedFootBloodEnabled(localPlayer)
	
    outputChatBox("I am " .. (not bleeding and "not" or '') .. " bleeding")
end)

See Also

FROM VERSION 1.5.7 r19626 ONWARDS
FROM VERSION 1.5.7 r19626 ONWARDS