SetPedFootBloodEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Typo lol)
No edit summary
 
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==  

Latest revision as of 11:41, 31 August 2021

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