Here are all of your functions:
Code:
public plugin_init() {
register_plugin("Low Skill Kicker","1.0","Ezekiel")
return PLUGIN_CONTINUE
}
Code:
public client_disconnect(id) {
remove_task(id)
return PLUGIN_CONTINUE
}
Code:
kickPlayer(id) {
new name[32]
get_user_name(id, name, 31)
new uID = get_user_userid(id)
server_cmd("banid %d #%d", BANTIME, uID)
client_cmd(id, "echo ^"Sorry but you don't have a high enough score^"; disconnect")
client_print(0, print_chat, "%s was disconnected due to being shite!", name)
return PLUGIN_CONTINUE
}
Not public BTW
Code:
public checkScore(param[])
{
new id = param[0]
if ((get_user_flags(id) & ADMIN_RESERVATION)) {
remove_task(id)
client_print(id, print_chat, "Score checking disabled due to immunity...you'd best not be shite! ")
return PLUGIN_CONTINUE
}
new PLAYERS = get_playersnum()
if ( PLAYERS >= MINPLAYERS) {
new FRAGS = get_user_frags(id)
new DEATHS = get_user_deaths(id)
new KD = FRAGS - DEATHS
if (KD <= RATIO)
{
kickPlayer(id)
return PLUGIN_CONTINUE
}
else {
return PLUGIN_CONTINUE
}
}
else {
return PLUGIN_CONTINUE
}
return PLUGIN_CONTINUE
}
There is no
Code:
public client_putinserver()
Or
Code:
public client_connect()