SERVER EXPORTS
Add Job News
Use this export to add a news post to a specific company page as a "System" message.
local result = exports["17mov_Phone"]:Companies_AddJobNews(title, content, image, company)Returns:
table:{ success: boolean, itemId: number }
title
string
โ
The title of the news post.
content
string | JSONContent
โ
The content of the post. Can be a simple string or a JSONContent object.
image
string
โ
URL to the image attached to the news.
company
string
โ
The identifier of the company posting the news.
Set Call Notifications (By Source)
Toggle the state of company calls notifications for a player using their Server ID (Source).
exports["17mov_Phone"]:Companies_SetCompaniesCallStateBySrc(src, state)src
number
โ
The player's server ID (source).
state
boolean
โ
true to enable notifications, false to disable.
Set Call Notifications (By Number)
Toggle the state of company calls notifications for a player using their phone number.
exports["17mov_Phone"]:Companies_SetCompaniesCallStateByNumber(number, state)number
number
โ
The player's phone number.
state
boolean
โ
true to enable notifications, false to disable.
Set Message Notifications (By Source)
Toggle the state of company message notifications for a player using their Server ID (Source).
exports["17mov_Phone"]:Companies_SetCompaniesMessagesStateBySrc(src, state)src
number
โ
The player's server ID (source).
state
boolean
โ
true to enable notifications, false to disable.
Set Message Notifications (By Number)
Toggle the state of company message notifications for a player using their phone number.
exports["17mov_Phone"]:Companies_SetCompaniesMessagesStateByNumber(number, state)number
number
โ
The player's phone number.
state
boolean
โ
true to enable notifications, false to disable.
Last updated
