Hi there!
I want to make an script that is repeating some effect on player every one second.
I think the best would be onLogin function in creaturescripts, but I have always had troubles with repeating functions.
It should look something like that:
I would really appreciate help.
Thanks in advance.
I want to make an script that is repeating some effect on player every one second.
I think the best would be onLogin function in creaturescripts, but I have always had troubles with repeating functions.
It should look something like that:
Code:
function onLogin(cid)
if getPlayerGroupId(cid) == 6 or getPlayerGroupId(cid) == 4 then
<repeating effect no. 14 every one second>
end
Thanks in advance.