• 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!

achievment system in tfs 1.5 8.6

vexler222

Active Member
Joined
Apr 22, 2012
Messages
714
Solutions
15
Reaction score
47
Hi, can someone explain me how work a achievment system in tfs 1.5?
I was try it like that:
Code:
player:addAchievement(1)

and
Code:
player:addAchievement(1, "Allow Cookies?")

and
Code:
player:addAchievement("Allow Cookies?")


And i get only "[!] -> Invalid achievement"
 
This one is supposed to work, You have the achievement in data/lib/core/achievements.lua?
LUA:
player:addAchievement("Allow Cookies?")
Have you tried with different achievements and all returned the same error?
 
This one is supposed to work, You have the achievement in data/lib/core/achievements.lua?
LUA:
player:addAchievement("Allow Cookies?")
Have you tried with different achievements and all returned the same error?

Yes and yes
All its default like in clean tfs 1.5 by nekiro
 
This one is supposed to work, You have the achievement in data/lib/core/achievements.lua?
LUA:
player:addAchievement("Allow Cookies?")
Have you tried with different achievements and all returned the same error?

Ok, i don't know why player:addAchievement not work, but i use this:

player:addAchievementProgress("Allow Cookies", 1)
And it working ;p
 
Back
Top