DetonateSatchels: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Server client function}} __NOTOC__ This function can be used to detonate a players satchels ==Syntax== <section name="Client" class="client" show="true"> <syntaxhighlight lang="lua"> bool de...") |
m (1.1 tag) |
||
Line 1: | Line 1: | ||
{{New feature|3.0110|1.1| | |||
{{Server client function}} | {{Server client function}} | ||
__NOTOC__ | __NOTOC__ | ||
Line 30: | Line 31: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | </section> | ||
}} |
Revision as of 17:07, 7 July 2011
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)