I am using this ping kickeing plugin to learn from, i understand most of it, but there are a few things i dont get anybodies help would be much appreciated.
Code:
public client_disconnect(id) {
remove_task(id)
return PLUGIN_CONTINUE
}
Telling the plugin to stop checking someone when they disconnect? Am not so sure about this, or how it works.
Code:
public client_putinserver(id) {
iNumTests[id] = 0
if (!is_user_bot(id)) {
new param[1]
param[0] = id
set_task(30.0, "showWarn", id, param, 1)
}
return PLUGIN_CONTINUE
}
When a player connects, if theyre not a bot show them a warning. But i dont understand why/how this is done with param?