Scripting > System Values
'System Values' are special global variables that provide information about the state of the current player and the world. e.g. 'gPlayerAge' tells you the age of the current player. You would get this value as shown
$myvar = $gPlayerAge
Here is the full current list of System Values:
<html> <CENTER> <TABLE WIDTH=80%><TR><TD WIDTH=33% VALIGN=TOP> </html>
Player Stats
gPlayerID
gPlayerTeam
gPlayerLevel
gPlayerKudos
gPlayerFamily
gPlayerCash
gPlayerVehicle
gPlayerFuel
gPlayerAge
gPlayerFollowing
gPlayerNumFollowers
gPlayerKills
gPlayerDeaths
gPlayerRobocrowKills
gPlayerRobocrowDeaths
gPlayerItemCount
<html> </TD><TD WIDTH=33% VALIGN=TOP> </html>
Player Health & Needs
gPlayerHealth
gPlayerHunger
gPlayerThirst
gPlayerMaxHealth
Player Location
gPlayerX
gPlayerY
gNearestBuilding
Tasking interface
gTaskItem1
<html>
</TD><TD WIDTH=33% VALIGN=TOP>
</html>
gTaskItem2
gTaskItem3
Server Status
gServerTime
gNumPlayersOnline
Building access
gBuildingAccessNum
gBuildingScriptParam
Combat Players
gKillerID
gKilledID
gTargetID
Player User-details
gPlayerAuth
<html>
</TD></TR></TABLE></CENTER>
</html>
gPlayerIsMember