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
No edit summary
No edit summary
Line 11: Line 11:
}
}
</code>
</code>
== Related Functions ==
{{Scripting/Squirrel/Events/Object_Events}}
[[Category:Scripting/Squirrel/Events/Object_Events]]

Revision as of 22:11, 30 January 2017

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)

}

Related Functions