IT/detonateSatchels: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{IT/MainP}} {{IT/Funzioni client server}} __NOTOC__ Questa funzione può essere utilizzata per far esplodere una cartella esplosiva. Questa funzione è disponibile dalla versio...") |
(No difference)
|
Revision as of 13:02, 3 August 2011
« Torna alla Pagina principale italiana ▇▇▇.
Template:IT/Funzioni client server
Questa funzione può essere utilizzata per far esplodere una cartella esplosiva.
Questa funzione è disponibile dalla versione 1.1 in poi.
Sintassi
Click to collapse [-]
IT/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)
See also
- createProjectile
- getProjectileCounter
- getProjectileCreator
- getProjectileForce
- getProjectileTarget
- getProjectileType
- setProjectileCounter
Shared