IsPedFootBloodEnabled

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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