API GetLicenseLevel: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 7: Line 7:
<br>
<br>
'''Arguments:'''<br>
'''Arguments:'''<br>
''type'' type of license (1-5)
''type'' type of license (1-5)<br>
"charid" character id or nil
''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>

Latest revision as of 19:54, 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