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

Movement dont work

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,855
Solutions
18
Reaction score
671
Hey.
Anyone can help me?
Why this script dont work:

PHP:
function onStepIn(cid, item, pos)
if getCreatureSkullType(cid) == 5 and getPlayerStorageValue(cid,80666,1) then
doCreatureSetSkullType(cid, 0)
setPlayerStorageValue(cid,80666,-1)
end
end

0 bugs in console... <_<
 
i donno but try to make like down and check :) :

first make sure of your movement.xml , second return true for the function , third try using this function <<function onStepIn(cid, item, position, fromPosition)>>
 
Rep++
LUA:
function onStepIn(cid, item, pos)
if getCreatureSkullType(cid) == 5 and getPlayerStorageValue(cid, 80666) == 1 then
doCreatureSetSkullType(cid, 0)
setPlayerStorageValue(cid, 80666, -1)
end
return 1
end
 
Back
Top