1,584
edits
DrinkyBird (talk | contribs) (Created page with "{{ACSWarning}} int '''SetPlayerLivesLeft''' (int ''player'', int ''amount'') *''player'': the player to set the lives for. Setting ''player'' to ''PlayerNumber()'' will refe...") |
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
||
Line 1: | Line 1: | ||
{{ACSWarning}} | {{ACSWarning}} | ||
bool '''SetPlayerLivesLeft''' (int ''player'', int ''amount'') | |||
*''player'': the player to set the lives for | == Usage == | ||
*''amount'': amount of lives left to | === Parameters === | ||
* ''player'': the player to set the lives for. | |||
* ''amount'': the amount of lives the player has left after they die. Lives are only reduced on respawning; to give a player 3 lives, an amount of 2 should be used. An amount of 0 indicates last life. | |||
Returns | === Return value === | ||
Returns true for success, false for failure (e.g. if the player does not exist). | |||
[[Category: ACS | == Examples == | ||
{{noexamples}} | |||
== See also == | |||
* [[GetPlayerLivesLeft]] | |||
[[Category: ACS functions]] |