GetReceivedBeaconsFromJob
Information
Cet export peut être utilisé pour récupérer les balises que le joueur a reçu dans un certain job.
local beaconsReceived <const> = exports['SnapBack_alerts']:GetReceivedBeaconsFromJob(jobName)
for beaconIndex, beaconData in ipairs(beaconsReceived) do
print(beaconIndex, json.encode(beaconData))
end
Paramètre | Type | Description |
---|---|---|
jobName | String | Le nom du job |
Retourne: Array | La liste des balises