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

Solved Fail error

Snach

Sensei
Joined
Aug 8, 2009
Messages
1,694
Reaction score
84
Location
Estonia
PHP:
function onAdvance(cid, skill, oldlevel, newlevel)
if skill == SKILL__LEVEL then
doSendAnimatedText(getThingPos(cid), getPlayerLevel(cid).."", TEXTCOLOR_GOLD)
end
return true
end

It says unexpected symbol near '{' 1st line =S
Lualand - Debugger There it works fine
0.3.6pl1

Thanks in advance.
 
Last edited:
Recreate the script under a different file name (create an empty file, change extension to .lua, and copy the contents into it).
 
Back
Top