OnSphereEntered: 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 "This is called when a player enters any sphere. == Syntax == function OnSphereEntered( player, sphere ) == Example == <source lang="squirrel"> function OnSphereEntered( pla...")
(No difference)

Revision as of 10:17, 9 March 2016

This is called when a player enters any sphere.

Syntax

function OnSphereEntered( player, sphere )

Example

function OnSphereEntered( player, sphere )
{
   MessagePlayer("You're entered a sphere! ID " + sphere.ID , player );
}