IsPedFootBloodEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(initial makup)
 
(No difference)

Latest revision as of 01:59, 13 December 2019

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

Shared