OnSphereEntered

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

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