AwardBadge (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Undo revision 37480 by ArceusInator (Talk) |
>Camoy Undo revision 37480 by ArceusInator (Talk) |
(No difference)
|
Revision as of 13:00, 26 December 2010
AwardBadge( Integer userId, Integer badgeId ) | |
Returns | nil |
Description: | Gives player with userId a badge with badgeId. |
Member of: | BadgeService |
Example
game:GetService("BadgeService"):AwardBadge(player.userId, 24806012)
Limitations
- Badges can only be awarded from Roblox Game Servers. This means it must be a server-side script running online.
- The owner of the place must own the badge and it must be for the place that is awarding it.
- The owner of the place must have a current Builder's Club subscription.