• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua [tfs 1.2] Reward at certain level points

Lopaskurwa

Active Member
Joined
Oct 6, 2017
Messages
873
Solutions
2
Reaction score
49
Looking for code that at certain level points for example 100,150,200 and etc would give my config rewards im using. It should check vocations to, so maybe config could look like

Code:
local config = {
    storage = xxxx,
    levelstages = 100,150,200,250,300
    rewards = {
        addBonus = 15000000,
        addBonus = 20000
    },
    vocations = {1,2,3,4,5,6},
}

for rewards im using my custom feature in players.lua so dont need to do anything with it just add player:takeReward(config.rewards) inside the function
 
Back
Top