Squirrel/Server/Functions/Spheres/FindSphere

From Liberty Unleashed Wiki
Revision as of 07:57, 14 December 2009 by Juppi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function finds a sphere from an ID and returns the pointer. If no sphere is found, null will be returned.

Syntax

  1. Sphere FindSphere( int id [, Player plr ] )

Arguments

  • id - The ID of the sphere to be found
  • plr - If the sphere you want to find is for a specific client only, use this to specify a pointer to the player who owns the sphere. If you don't use this argument the sphere will be returned from the global sphere pool

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- Example notes here

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox