I want to count how many times the player leaves server but not count the retry command.
I have this simple code (test code) i saw other codes but i want one simple solution.
Someone can help me ?
PHP Code:
new gDisc[33]
public client_disconnect(id)
{
set_task(10.0, "LeaveSv", id)
}
public LeaveSv(id)
{
if(!is_user_connected(id))
{
gDisc[id]++
SaveLeave(id)
}
}