AwardBadge (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Camoy No edit summary |
||
Line 18: | Line 18: | ||
== See Also == | == See Also == | ||
*[[ | *[[UserHasBadge]] | ||
*[[Badges]] | *[[Badges]] | ||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 00:21, 26 December 2010
AwardBadge( Number userId, Number badgeId ) | |
Returns | nil |
Description: | Gives player a Badges. |
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.