Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void execute(String sql)
- {
- try
- {
- MySqlCommand command = new MySqlCommand(sql, //connection);
- command.ExecuteNonQuery();
- }
- catch (Exception ex)
- {
- API.shared.consoleOutput("[DATABASE] Exception: " + ex.ToString());
- }
- }
- execute("UPDATE `players` SET `money` = '1'");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement