RU/setPedOnFire

From Multi Theft Auto: Wiki
Revision as of 18:10, 8 July 2010 by Damage22 (talk | contribs) (Created page with '__NOTOC__ {{RU/Server client function}} {{translate}} Эта функция позволяет поджечь или потушить педа. ==Syntax== <syntaxhighlight lang="lua"> bool se…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Warning.png This page requires local translation. If page will remain not translated in reasonable period of time it would be deleted.
After translating the page completely, please remove the ‎{{translate}}‎ tag from the page.

Эта функция позволяет поджечь или потушить педа.

Syntax

bool setPedOnFire ( ped thePed, bool isOnFire )

Required Arguments

  • thePed: The ped that we want to set/unset
  • isOnFire: true to set the ped on fire, false to extinguish any fire on him

Returns

Returns true if successful, false otherwise

Example

This script will make all current connected players and peds to burn

    setPedOnFire ( getRootElement(), true )

Смотрите также