I was wondering if there is any function to pause the script for a few seconds.
Example:
I already tried wait(), but it doesn't work. I don't even know if it's a valid function.
Example:
LUA:
doCreatureSay(cid, 'Wait 1 second.', TALKTYPE_ORANGE_1)
superWaitFunction(1000)
doCreatureSay(cid, 'Ok!', TALKTYPE_ORANGE_1)
I already tried wait(), but it doesn't work. I don't even know if it's a valid function.