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

Lua Little trouble:

Rer

LUA is for genius xD
Joined
Oct 24, 2012
Messages
234
Reaction score
16
Location
Poland
I don't have an idea to create function and addEvent. One person instructed me how to do this.

You create functions checkPlayerStatus() calls it say what 1000ms (addEvent)
There are get the player by cid, if nil, then reset the bonus and cease to perform checkPlayerStatus ()
How to write this function?

I try this:
PHP:
function checkPlayerStatus()
end

addEvent(checkPlayerStatus(), 1000)
But I don't know it is works.. Do you help me?

Thanks.
 
Back
Top