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

error in function onAttack

xupenba

New Member
Joined
Aug 14, 2012
Messages
4
Reaction score
1
hi guys, I made ​​a script and el lo ta giving error:

function onAttack(cid, target)

if(getPlayerStorageValue(target, 7999) == 1 and getCreatureSpeed(cid) >= 0) then
doChangeSpeed(cid, getCreatureBaseSpeed(cid))
return true
end
end

error:

[31/07/2013 18:46:45] [Error - CreatureScript Interface]
[31/07/2013 18:46:45] data/creaturescripts/scripts/sagaone.lua: onAttack
[31/07/2013 18:46:45] Description:
[31/07/2013 18:46:45] (luaGetCreatureStorage) Creature not found

thank you for your attention..
 
Back
Top