OnObjectBump: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "<code> function onObjectBump(object,player) { MessagePlayer("You've bumped in to object id: "+object,player) } </code> This example will message player when he touches a o...")
 
No edit summary
Line 1: Line 1:
==Description==
This event is called when the player touches a object!
==Syntax==
<pre>onObjectBump(object,player)</pre>
==Example==
<code>
<code>
function onObjectBump(object,player) {
function onObjectBump(object,player) {
Line 4: Line 11:
}
}
</code>
</code>
This example will message player when he touches a object.TrackingBumps

Revision as of 12:41, 19 November 2016

Description

This event is called when the player touches a object!

Syntax

onObjectBump(object,player)

Example

function onObjectBump(object,player) {

  MessagePlayer("You've bumped in to object id: "+object,player)

}