Difference between revisions of "API GetLicenseLevel"
From Vendetta Lua
(split) |
|||
Line 1: | Line 1: | ||
=== GetLicenseLevel === | === GetLicenseLevel === | ||
'''Definition:''' | '''Definition:''' | ||
− | GetLicenseLevel(int type) -> int level | + | GetLicenseLevel(int type, int charid) -> int level |
<br> | <br> | ||
'''Description:'''<br> | '''Description:'''<br> | ||
− | get the level of the provided license | + | get the level of the provided license. returns your own level if charid is not given. |
<br> | <br> | ||
'''Arguments:'''<br> | '''Arguments:'''<br> | ||
''type'' type of license (1-5) | ''type'' type of license (1-5) | ||
+ | "charid" character id or nil | ||
<br> | <br> | ||
'''Returns:'''<br> | '''Returns:'''<br> | ||
''level'' license level or 0 if invalid type given | ''level'' license level or 0 if invalid type given | ||
<br> | <br> |
Revision as of 19:53, 8 September 2009
GetLicenseLevel
Definition:
GetLicenseLevel(int type, int charid) -> int level
Description:
get the level of the provided license. returns your own level if charid is not given.
Arguments:
type type of license (1-5)
"charid" character id or nil
Returns:
level license level or 0 if invalid type given