OnProjectileFired

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search

This function was added in v1.6 beta 4 and will not work on previous versions.


Description:
This event is called when a projectile is fired by a player


Parameters:

( playerId, weaponId, position, r1, r2, r3, r4, r5, r6, r7 )
playerId : The ID of the player who fired the projectile
weaponId : The ID of the projectile weapon which was fired. Possible values are: 12 - 15, 30.
position : The related position Vector.
r1-r7 : Float values which determine where the projectile will hit.


Return Values:
This function does not return any specific values.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.