Usage
Syntax: function onPlayerShoots(TServerPlayer playerObject, TProjectile projectileObject) { }
Explanation
Is called when a player shoots something using shoot.
Only called serverside.
Example
function onPlayerShoots(playerObject, projectileObject) { echo(playerObject.nick @ " shot something at an angle of " @ projectileObject.angle); }
... echoes the name of the player who shot the projectile and the angle of the projectile.
Categories
CategoryFunctionEvent