SetPedFootBloodEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} This function makes a players foot prints bloody. ==Syntax== <syntaxhighlight lang="lua">bool setPedFootBloodEnabled (element thePlayer, bool enabled)</syntaxhighlight> ...")
 
m (Typo lol)
Line 17: Line 17:
<section name="Client" class="client" show="true">
<section name="Client" class="client" show="true">
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
setPlayerFootBloodEnabled(localPlayer, true)
setPedFootBloodEnabled(localPlayer, true)
</syntaxhighlight>
</syntaxhighlight>
</section>
</section>

Revision as of 14:14, 18 September 2011

This function makes a players foot prints bloody.

Syntax

bool setPedFootBloodEnabled (element thePlayer, bool enabled)

Required Arguments

  • thePlayer: The player to give bloody foot prints to.
  • enabled: Boolean specifying whether or not to have bloody feet.

Returns

Returns true if changing the players bloody feet status worked.

Example

This example gives the player bloody feet forever.

Click to collapse [-]
Client
setPedFootBloodEnabled(localPlayer, true)

See Also