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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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