Revision [682]

This is an old revision of TServerPlayer made by Tolnaftate2004 on 2010-05-25 02:27:59.
 
Usage

Syntax: new TServerPlayer("account")

Explanation

TServerPlayer is the class, derived from TGaniObject, from which NPCs (including GUI scripts) as well as players (i.e., your character) are created.

Example

Construction of a stand-alone TServerPlayer object is impossible, but the properties of an offline player can be loaded this way.

function onCreated() {
  temp.pl = new TServerPkayer("account ");
  temp.hat = temp.pl.attr[2];
temp.pl.destroy();
}


Categories

CategoryClassObject

There is one comment on this page. [Display comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki