PL/detonateSatchels: Difference between revisions
Jump to navigation
Jump to search
ThePiotrek (talk | contribs) (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...") |
(No difference)
|
Revision as of 13:29, 21 July 2016
This function can be used to detonate a players satchels.
Syntax
Click to collapse [-]
Clientbool detonateSatchels ( )
Click to collapse [-]
Serverbool detonateSatchels ( player Player )
Wartości zwrotne
Zwraca true w przypadku powodzenia, w innym przypadku false.
Przykład
Ta funkcja pozwala graczu na wysadzenie wszystkich jego ładunków wybuchowych używając /blowsatchels
Click to collapse [-]
Klientfunction blowMySatchels() detonateSatchels() outputChatBox("Ładunki wybuchowe wysadzone!", 0, 255, 0) end addCommandHandler("blowsatchels", blowMySatchels)
Zobacz także
- createProjectile
- getProjectileCounter
- getProjectileCreator
- getProjectileForce
- getProjectileTarget
- getProjectileType
- setProjectileCounter
Shared