OnObjectShot

From Vice City Multiplayer
Revision as of 13:34, 7 May 2019 by Dracc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

Description

This event is called when a player shoots an object.

Syntax

onObjectShot(object,player,weapon);

Example

function onObjectShot(object, player, weapon) {
   MessagePlayer("You've shot object id " + object + " with weapon id " + weapon, player);
}

Related Functions