UserHasBadge (Function): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
(created the page) |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{CatUp|Functions}} | {{CatUp|Functions}} | ||
<onlyinclude>{{Function| | <onlyinclude>{{Function| | ||
name = UserHasBadge | name = UserHasBadge | ||
| Line 8: | Line 7: | ||
|object = [[GBX.lua.BadgeService (Service)|BadgeService]] | |object = [[GBX.lua.BadgeService (Service)|BadgeService]] | ||
}}</onlyinclude> | }}</onlyinclude> | ||
[[Category:Functions]] | |||
Latest revision as of 20:52, 23 September 2021
| Function | |
|---|---|
| Syntax | UserHasBadge( Integer userId, Integer assetId ) |
| Returns | Bool has asset |
| Description: | Returns true if given user has the given asset. |
| In Object: | BadgeService |