Explosion
Client-Side Event
JavaScript |
---|
JavaScript Syntax
Parameters
- sourcePlayer: Player
- type: Number
- position: Vector3
Example
mp.events.add("explosion", (sourcePlayer, type, position) => {
//do what you want
});
See also
Checkpoint
Colshape
Entity
Player
- playerChat
- playerCommand
- playerDamage
- playerDeath
- playerJoin
- playerQuit
- playerReady
- playerSpawn
- playerWeaponChange
Streaming
Vehicle
- playerStartEnterVehicle
- playerEnterVehicle
- playerStartExitVehicle
- playerExitVehicle
- trailerAttached
- vehicleDamage
- vehicleDeath
- vehicleHornToggle
- vehicleSirenToggle