OnObjectShot

From Vice City Multiplayer
Revision as of 08:38, 17 November 2016 by Kewun (talk | contribs) (Created page with "[code] function onObjectShot( object, player, weapon ) { MessagePlayer("You've shot object id "+object+" with weapon id "+weapon,player) } [/code] This will Message the...")
(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

[code] function onObjectShot( object, player, weapon ) {

  MessagePlayer("You've shot object id "+object+" with weapon id "+weapon,player)

} [/code]


This will Message the player which shotted a object which tracks shots and sends him information about it