add #include "MYSQLM.h" to the top
now add this somewhere
Code:else if(strcmp(command, "ban") == ){ MYSQL::insert("UPDATE `users` SET banned = 1 WHERE username = %d", next_token); MYSQL::insert("UPDATE `users` SET ban_reason = 1 WHERE username = %d", next_token); PlayersPacket::showMassage("%d has been banned.", next_token); } else if(strcmp(command, "unban") == ){ MYSQL::insert("UPDATE `users` SET banned = 0 WHERE username = %d", next_token); MYSQL::insert("UPDATE `users` SET ban_reason = 0 WHERE username = %d", next_token); PlayersPacket::showMassage("%d has been unbanned.", next_token); }






