OnSphereExited: 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 event is called when a players exits a sphere. == Syntax == <pre>onSphereExited( player, sphere )</pre> == Arguments == * ''CPlayer'' '''player''' - The player instance...")
 
No edit summary
 
Line 12: Line 12:
PrivMessage(player,"You exited sphere number " + sphere.ID );
PrivMessage(player,"You exited sphere number " + sphere.ID );
}</pre>
}</pre>
== Related Functions ==
{{Scripting/Squirrel/Events/Sphere_Events}}
[[Category:Scripting/Squirrel/Events/Sphere_Events]]

Latest revision as of 22:21, 30 January 2017

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

Related Functions