i remove bypass this function easy with this
Code:
bool:CheckSpam(const id) {
new Float:flGametime = get_gametime()
if(is_user_connected(id)) { // some fix for sv_restartround 1
if(g_flLastCmd[id] < flGametime) {
g_flLastCmd[id] = flGametime + 1.00
return false
}
}
return true
}
public CheckPlayer(id) {
if(!is_user_alive(id)) {
ColorChat(id, RED, "[kz#] ^x01You must be alive to use this command...")
return PLUGIN_HANDLED // Block cmd's for non-alive players somehow xD
} else {
/*nothing i think this plugin continue next func ??*/
}
return PLUGIN_CONTINUE
}