OnClientExplosion: Difference between revisions
Jump to navigation
Jump to search
(→Source) |
No edit summary |
||
Line 4: | Line 4: | ||
==Parameters== | ==Parameters== | ||
'' | <syntaxhighlight lang="lua"> | ||
float x, float y, float z, int type | |||
</syntaxhighlight> | |||
*'''x:''' the X Coordinate of where the explosion was created | |||
*'''y:''' the Y Coordinate of where the explosion was created | |||
*'''z:''' the z Coordinate of where the explosion was created | |||
*'''type:''' the type of explosion created, Values are: | |||
{{Explosions}} | |||
==Source== | ==Source== |
Revision as of 16:43, 7 January 2008
This event is triggered every time an explosion is created on the current clients scene (inside the streamer)
Parameters
float x, float y, float z, int type
- x: the X Coordinate of where the explosion was created
- y: the Y Coordinate of where the explosion was created
- z: the z Coordinate of where the explosion was created
- type: the type of explosion created, Values are:
- 0: Grenade
- 1: Molotov
- 2: Rocket
- 3: Rocket Weak
- 4: Car
- 5: Car Quick
- 6: Boat
- 7: Heli
- 8: Mine
- 9: Object
- 10: Tank Grenade
- 11: Small
- 12: Tiny
Source
The source of this event is the explosions creator element (object/vehicle)
Example
See Also
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled