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

Svargrond Arena TFS 1.0

hejd12345

New Member
Joined
Apr 11, 2012
Messages
255
Reaction score
1
Location
Sweden
Does anyone have a working map/files including Svargrond arena for TFS 1.0? I would appropriate if someone could post it here! :)
 
You need to add the lib file as well, data/libs/svargrond~.
But I do not reccomend you to use them, you should atleast rewrite them to use the new meta tags functions if you need to use them.
 
Okay did you copy the map? Looks like you got the wrong items on your map compared to the one on the github project.
Either that or the lib you imported dosen't exist.

Code:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)

    local oldPit = getPlayerStorageValue(cid, STORAGE_PIT) - 1
    local newPit = getPlayerStorageValue(cid, STORAGE_PIT)
    print(oldPit)
    print(newPit)

Try using that and see if it prints out nil or a numberic value.
 
Okay did you copy the map? Looks like you got the wrong items on your map compared to the one on the github project.
Either that or the lib you imported dosen't exist.

Code:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)

    local oldPit = getPlayerStorageValue(cid, STORAGE_PIT) - 1
    local newPit = getPlayerStorageValue(cid, STORAGE_PIT)
    print(oldPit)
    print(newPit)

Try using that and see if it prints out nil or a numberic value.
It printed out nil on both of them. What does that mean? :)
 
Well no offence but it isent. Redo it until it prints a number value not a nil value.
Or hire someone if your over your head.
 
Back
Top