public OnFloodDetected(playerid, ip[], type){ if (type == FLOOD_TYPE_CONNECT) { ... } else if (type == FLOOD_TYPE_CHAT) { ... } else if (type == FLOOD_TYPE_BLABLA) { ... } return 1;}