Scripting/Squirrel/Functions/Sphere.Radius

From Vice City Multiplayer
Revision as of 20:04, 13 March 2016 by Decent 946 (talk | contribs) (Created page with "allows you to check Sphere's Radius. == Syntax == <pre>Sphere.Radius</pre> == Example == <source lang=D> function onSphereEntered( player, Sphere ) { MessagePlayer( "y...")
(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

allows you to check Sphere's Radius.

Syntax

Sphere.Radius


Example

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

Notes

[onSphereEntered] was used in this example..