Projectile

From RAGE Multiplayer Wiki

Client-Side
Event

 JavaScript




JavaScript Syntax

Parameters

  • sourcePlayer: Player
  • weaponHash: Number
  • ammoType: Number
  • position: Vector3
  • direction: Vector3

Example

mp.events.add("projectile", (sourcePlayer, weaponHash, ammoType, position, direction) => {
 //do what you want
});


See also

Checkpoint

Colshape

Entity

Player

Streaming

Vehicle

Waypoint