onPlayerExitSphere
From Liberty Unleashed Wiki
This event is called when a player exits a sphere.
Syntax
function onPlayerExitSphere( Player plr, Sphere sphere )
Arguments
- plr - The player who left the sphere
- sphere - The sphere which the player left
Returns
This event does not handle return values.
Example
This example will message the player who left a sphere.
function onPlayerExitSphere( player, sphere ) { MessagePlayer( "You have left a sphere.", player ); return 1; }
Notes
The function MessagePlayer was used in this example. More info about this in the corresponding page.
Related Events
- onPlayerEnterCheckpoint
- onPlayerExitCheckpoint
- onPlayerEnterSphere
- onPlayerExitSphere