Usage

Object syntax: client.varname, player.client.varname

Explanation

The client prefix is used to set variables that are stored in the user's account file on the local game server, of which are readable and writable both by scripts on the serverside and the clientside.

For account-stored variables that are readable but not writable by the client, see clientr.

Example

function onPlayerEnters()
{
  player.client.variable = "value";
}

//#CLIENTSIDE

function onPlayerChats()
{
  player.client.variable = "value2";
  player.chat = player.client.variable;
}


Categories

CategoryVariablePrefix
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki