Squirrel/Server/Functions/Spheres/FindSphere
From Liberty Unleashed Wiki
(Difference between revisions)
(New page: __NOTOC__ This function finds a sphere from an ID and returns the pointer. If no sphere is found, ''null'' will be returned. == Syntax == <code>Sphere FindSphere( int id [, Player plr ] ...) |
Revision as of 07:57, 14 December 2009
This function finds a sphere from an ID and returns the pointer. If no sphere is found, null will be returned.
Syntax
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
-- todo
Notes
-- Example notes here