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> ...")
 
mNo edit summary
Tag: Manual revert
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}
{{Client function}}
This function makes a players foot prints bloody.
This function makes a [[ped|ped's]] footprints bloody.


==Syntax==  
==Syntax==  
Line 7: Line 7:


===Required Arguments===  
===Required Arguments===  
*'''thePlayer:''' The player to give bloody foot prints to.
*'''thePlayer:''' the ped to give bloody footprints to.
*'''enabled:''' Boolean specifying whether or not to have bloody feet.
*'''enabled:''' boolean specifying whether or not to have bloody feet.


===Returns===
===Returns===
Returns ''true'' if changing the players bloody feet status worked.
Returns ''true'' if changing the ped's bloody feet status worked.


==Example==  
==Example==  
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>

Latest revision as of 13:33, 18 August 2024

This function makes a ped's footprints bloody.

Syntax

bool setPedFootBloodEnabled (element thePlayer, bool enabled)

Required Arguments

  • thePlayer: the ped to give bloody footprints to.
  • enabled: boolean specifying whether or not to have bloody feet.

Returns

Returns true if changing the ped's bloody feet status worked.

Example

This example gives the player bloody feet forever.

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

See Also