DetonateSatchels: Difference between revisions
Jump to navigation
Jump to search
OpenIDUser32 (talk | contribs) No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
This function can be used to detonate a players satchels. | This function can be used to detonate a players satchels. | ||
==Syntax== | ==Syntax== | ||
<section name="Client" class="client" show="true"> | <section name="Client" class="client" show="true"> |
Revision as of 18:50, 2 April 2012
This function can be used to detonate a players satchels.
Syntax
Click to collapse [-]
Clientbool detonateSatchels ( )
Click to collapse [-]
Serverbool detonateSatchels ( element Player )
Returns
Returns true if successful, false otherwise.
Example
The below example allows a player to detonate any of their placed satchels via the command /blowsatchels
Click to collapse [-]
Clientfunction blowMySatchels() detonateSatchels() outputChatBox("Satchels blown!", 0, 255, 0) end addCommandHandler("blowsatchels", blowMySatchels)