OnSphereEntered

From Vice City Multiplayer
Revision as of 15:56, 7 August 2017 by Decent 946 (talk | contribs)
(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

This is called when a player enters any sphere.

Syntax

function OnSphereEntered( player, sphere )

Parameters

  • Player Who enteres into the sphere.
  • Sphere The Sphere in which player entered.

Example

function onSphereEntered( player, sphere )
{
   MessagePlayer("You've entered in a sphere! ID: " + sphere.ID , player );
}

Related Functions