Creation/Dev/Script/Client/TServerPlayer: Difference between revisions
From Graal Bible
No edit summary |
|||
Line 191: | Line 191: | ||
| boolean | | boolean | ||
| | | | ||
|- | |||
| openexternalhistory() | |||
| boolean | |||
| Open's PM History between you and the player. | |||
|- | |||
| openexternalpm(bool) | |||
| boolean | |||
| as parameter specify 'true' if it should display the pm sent by the player, otherwise always open a blank PM window. | |||
|- | |- | ||
| showprofile() | | showprofile() | ||
| | | | ||
| | | Open's the player's profile. | ||
|} | |} |
Revision as of 15:11, 24 April 2011
This article is information on a script object - a pre-defined type of variable with its own set of static variables and functions. It is intended for use with the GS2 scripting language.
Inherits TGaniObject.
Variables
Name | Type | Description |
account | string (read only) | |
ap | integer | |
attached | boolean (read only) | |
bombs | integer | |
chat | string | |
darts | integer | |
fullhearts | integer (read only) | |
glovepower | integer | |
gralats | integer | |
guild | string (read only) | |
headimg | string | |
headset | integer | |
hearts | float (read only) | |
horseimg | string (read only) | |
hp | float (read only) | |
id | integer (read only) | |
isadmin | boolean (read only) | |
ischannel | boolean (read only) | |
ischannelopen | boolean (read only) | |
ischanneluser | boolean (read only) | |
isexternal | boolean (read only) | |
isfemale | boolean (read only) | |
isignoring | boolean (read only) | |
isloggedin | boolean (read only) | |
ismale | boolean (read only) | |
ismuted | boolean (read only) | |
ismuting | boolean (read only) | |
language | string (read only) | |
languagedomain | string (read only) | |
maxhp | integer (read only) | |
messagebubble | integer (read only) | |
mp | integer | |
nick | string | |
platform | string (read only) | |
rupees | integer | Use gralats instead |
shieldimg | string | |
shieldpower | integer (read only) | |
swordimg | string | |
swordpower | integer (read only) | |
x | float | |
y | float |
Functions
Name | Return Type | Description |
isguildpm() | boolean | |
ismasspm() | boolean | |
pmswaiting() | boolean | |
openexternalhistory() | boolean | Open's PM History between you and the player. |
openexternalpm(bool) | boolean | as parameter specify 'true' if it should display the pm sent by the player, otherwise always open a blank PM window. |
showprofile() | Open's the player's profile. |