IsPedFootBloodEnabled

From Multi Theft Auto: Wiki
Revision as of 01:59, 13 December 2019 by Luxy.c (talk | contribs) (initial makup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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