API GetAccomplishmentLevels

From Vendetta Lua
Jump to navigationJump to search

GetAccomplishmentLevels

Definition:
GetAccomplishmentLevels(int accomid) -> int curlevel int reqlevel
Description:
returns the current and the required level for the selected accomplishment
Arguments:
accomid id of the accomplishment
Returns:
curlevel current level of the accomplishment
reqlevel what is required to get the accomplishment

Example:
<source lang="lua">GetAccomplishmentLevels(9) -> 34 50</source>
assuming 9 is buskills this player has 34 kills of the 50 required