> filo_studios
Paid Resources🛒 filo_rewards

Exports

Server exports and admin commands.

Server exports

exports.filo_rewards:GetCoins(src)
exports.filo_rewards:AddCoins(src, amount)      -- amount must be >= 1
exports.filo_rewards:RemoveCoins(src, amount)   -- returns false if not enough
exports.filo_rewards:AddXp(src, amount)         -- amount must be >= 1
exports.filo_rewards:GetLevel(src)

exports.filo_rewards:GetPriorityLevel(srcOrFivemId)        -- 0-3, highest active queue priority
exports.filo_rewards:GetPlayerQueuePriority(srcOrFivemId)  -- 'Level 3 Priority' or nil
exports.filo_rewards:GetExtraCharacterSlots(srcOrFivemId)  -- bought character slots, 0 for none

Admin commands

These need the ace set in Config.ShopEditor.ace.

CommandWhat it does
/rewardscoins [serverId] [amount]Give coins
/rewardsxp [serverId] [amount]Give XP

On this page