This member cannot be used in scripts, but is usable in the command bar and plugins.
The SetAccountAge function sets the
Player/AccountAge of the player in days.
It is used to set the
Player property that describes how long ago a player’s account was registered in days.
This does not set the age of the player on the account, but the age of the account itself relative to when it was first created.
The age of the account in days.
Setting the Player's Account Age
This example demonstrates how the
Player/SetAccountAge function would be used if it was accessible. It sets the local player’s account age to 100 days.
Account Age Mark
This code sample adds a mark to players showing about how old their account is. The mark uses a player’s account age to determine if they are a New Player, Veteran Player or Regular Player.