From Liberty Unleashed Wiki
This Sphere class member returns the ID of the sphere.
- int Sphere.ID
This example will message the player with the current ID of the sphere when they enter it.
- function onPlayerEnterSphere( player, sphere )
- MessagePlayer( "The ID of this sphere is: " + sphere.ID, player );
- return 1;