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

Revision as of 22:20, 30 January 2017

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 );
}

Related Functions