Squirrel/Server/Functions/Spheres/GetSphereCount

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ This function returns the number of spheres on the server. If the optional player argument is used, the function will return how many client-side spheres does the given player ha...)

Revision as of 20:57, 14 December 2009

This function returns the number of spheres on the server. If the optional player argument is used, the function will return how many client-side spheres does the given player have. Without the argument it will return the number of global spheres.

Syntax

  1. int GetSphereCount( [ Player plr ] )

Arguments

  • plr - If you want to get the number of the spheres for a specific client, use this argument to indicate the player. If you don't use this argument the global sphere count will be returned

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