Maten
New Member
- Joined
- Mar 16, 2009
- Messages
- 219
- Reaction score
- 2
Hey all!
Im trying to learn some lua script and I wonder if someone could tell me how I can make a pause for maybe 300 millisecond
Im trying to learn some lua script and I wonder if someone could tell me how I can make a pause for maybe 300 millisecond
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 2348 then
doSendMagicEffect(getPlayerPosition(cid),49)
V Want pause between these lines ^
doSendMagicEffect(getPlayerPosition(cid),42)
doCreatureSay(cid, "Hey it worked", TALKTYPE_ORANGE_1)
end
return TRUE
end