General stats
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
Race | Cardinal (TL2Race) | Player race |
|
There are no arguments | You need to register to view the code example. |
Sex | Cardinal | Player sex (0 - male, 1 - female) |
|
There are no arguments | You need to register to view the code example. |
ClassID | Cardinal | Player class identificator. Classes list. |
|
There are no arguments |
You need to register to view the code example.
|
MainClass | Cardinal | Player main class identificator. Classes list. |
|
There are no arguments | You need to register to view the code example. |
CP | Cardinal | Player CP number in percentages |
|
There are no arguments | You need to register to view the code example. |
CurCP | Cardinal | Player CP number in units |
|
There are no arguments | You need to register to view the code example. |
MaxCP | Cardinal | Player maximal CP number in units |
|
There are no arguments | You need to register to view the code example. |
Hero | Boolean | Is player hero |
|
There are no arguments | You need to register to view the code example. |
Noble | Boolean | Is player noble |
|
There are no arguments | You need to register to view the code example. |
Additional stats
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
Recom | Cardinal | Player recommendations number |
|
There are no arguments | You need to register to view the code example. |
Premium | Boolean | Is player has active premium account |
|
There are no arguments | You need to register to view the code example. |
CubicCount | Cardinal | Players summoned cubics |
|
There are no arguments | You need to register to view the code example. |
LoadCrest | Pointer | Get player clan icon. Need to call only via MainProc. |
|
Buffer - pointer to buffer, where icon will be written |
You need to register to view the code example. |
Conditions
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
StoreType | Byte (TStoreType) | Player active store type |
|
There are no arguments | You need to register to view the code example. |
MountType | Byte | Type of mount pet using by player (1 - dragon, 2 - wyvern, 3 - wolf) |
|
There are no arguments | You need to register to view the code example. |