IT/detonateSatchels
Jump to navigation
Jump to search
« 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
- detonateSatchels