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 TServerPlayer("account");
temp.hat = temp.pl.attr[2];
temp.pl.destroy();
}Categories
CategoryClassObject
There is one comment on this page. [Display comment]