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

script does not work correctly | TFS 0.4 REV3996

WikiArk21

New Member
Joined
Oct 24, 2023
Messages
11
Reaction score
1
I tried to make a script that increases the player's skill as he walks on a floor, but it only worked once and didn't work again. It doesn't show errors in the distro, did I make a mistake somewhere in the script for this to happen?
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)

if isPlayer(cid) then
doPlayerAddSkill(cid, SKILL_FISHING, 1)
end
return true
end
 
Back
Top