Aller au contenu principal

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ètreTypeDescription
jobNameStringLe nom du job

Retourne: Array | La liste des balises