I can't eddit my post, but you have a mistake.
In movements.xml you need to change arena_reward.lua to arena_trophy.lua.
Go to arena_pit.lua, after:
LUA:doCreatureSay(cid, "Respect and honour to you, champion!", TALKTYPE_MONSTER)
Add:
LUA:local ach = { -- Arena -- Achievement ID [1] = 25, [2] = 52, [3] = 78 } doPlayerAddAchievement(cid, ach[getCreatureStorage(cid, STORAGE_ARENA) - 1], true)
Remember, that code is based on my Achievements system
print("[Svargrond Arena[Movement]] >> Wrong configuration\nPlayer: " .. getCreatureName(cid) .. "\nAction: Trying to enter to arena\nStorage " .. STORAGE_ARENA .. " for player is: " .. s.. "\nStorage " .. STORAGE_PIT .. " for player is " .. pit)
Hi.
Code:print("[Svargrond Arena[Movement]] >> Wrong configuration\nPlayer: " .. getCreatureName(cid) .. "\nAction: Trying to enter to arena\nStorage " .. STORAGE_ARENA .. " for player is: " .. s.. "\nStorage " .. STORAGE_PIT .. " for player is " .. pit)
There's missing definition of s or am I just blind?![]()
Go to arena_pit.lua, after:
LUA:doCreatureSay(cid, "Respect and honour to you, champion!", TALKTYPE_MONSTER)
Add:
LUA:local ach = { -- Arena -- Achievement ID [1] = 25, [2] = 52, [3] = 78 } doPlayerAddAchievement(cid, ach[getCreatureStorage(cid, STORAGE_ARENA) - 1], true)
Remember, that code is based on my Achievements system
Go to arena_pit.lua, after:
LUA:doCreatureSay(cid, "Respect and honour to you, champion!", TALKTYPE_MONSTER)
Add:
LUA:local ach = { -- Arena -- Achievement ID [1] = 25, [2] = 52, [3] = 78 } doPlayerAddAchievement(cid, ach[getCreatureStorage(cid, STORAGE_ARENA) - 1], true)
Remember, that code is based on my Achievements system
LUA:local ach = { -- Arena -- Achievement ID [1] = 25, [2] = 52, [3] = 78 } doPlayerAddAchievement(cid, ach[arena], true)
Do not work, lol why
It's not removing stone i don't know why.![]()