facebookPostCompletedMilestone
FACEBOOK_POST_COMPLETED_MILESTONE0x0AE1F1653B554AB9The GTA V native FACEBOOK_POST_COMPLETED_MILESTONE of the NETWORK namespace, as LS:MP client scripts call it: the global function facebookPostCompletedMilestone, in JavaScript and in Lua.
facebookPostCompletedMilestone(milestoneId: number): booleanfacebookPostCompletedMilestone(milestoneId: integer): booleanUsage
JavaScript
const result = facebookPostCompletedMilestone(milestoneId);Lua
local result = facebookPostCompletedMilestone(milestoneId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
milestoneId | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL FACEBOOK_POST_COMPLETED_MILESTONE(int milestoneId)- Hash
0x0AE1F1653B554AB9- Formerly
_FACEBOOK_SET_MILESTONE_COMPLETE