Scripting/Squirrel/Functions/Sphere.World: 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 "allows you to check Sphere's World. == Syntax == <pre>Sphere.World</pre> == Example == <source lang=D> function onSphereEntered( player, Sphere ) { MessagePlayer( "you...")
 
No edit summary
 
Line 15: Line 15:
</source>
</source>
=== Notes ===
=== Notes ===
[[http://wiki.vc-mp.org/wiki/OnSphereEntered|''onSphereEntered'']] was used in this example..
Call [[onSphereEntered]] was used in this example..
 
== Related Functions ==
 
{{Scripting/Squirrel/Functions/Sphere_Functions}}

Latest revision as of 16:57, 15 March 2016

allows you to check Sphere's World.

Syntax

Sphere.World


Example

function onSphereEntered( player, Sphere )
{
   MessagePlayer( "you have entered in a Sphere, Sphere's World: "+ Sphere.World, player );
}

Notes

Call onSphereEntered was used in this example..

Related Functions