OnSphereExited

From Vice City Multiplayer
Revision as of 10:51, 9 March 2016 by KAKAN (talk | contribs) (Created page with "This event is called when a players exits a sphere. == Syntax == <pre>onSphereExited( player, sphere )</pre> == Arguments == * ''CPlayer'' '''player''' - The player instance...")
(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 event is called when a players exits a sphere.

Syntax

onSphereExited( player, sphere )

Arguments

  • CPlayer player - The player instance, or the one who exited the sphere.
  • CSphere sphere - The sphere instance, or the sphere which got exited by the player

Example

function onSphereExited( player, sphere ){
PrivMessage(player,"You exited sphere number " + sphere.ID );
}