API CanUseAddon
From Vendetta Lua
CanUseAddon
Type | Name | Description |
---|---|---|
number | itemid | itemid of addon to check |
Type | Name | Description |
---|---|---|
boolean | ret1 | can use |
table | {string l1 ...} | license requirements of the item at the current station (1-5) (only returned for local addons and if the player is docked with a station) |
<source lang="lua">CanUseAddon(12345) -> true {1, 2, 2, 2, 2}</source>