Advertisement
Guest User

Untitled

a guest
Nov 11th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. public OnGameModeExit()
  2. {
  3. ServerShuttingDown = 1;
  4.  
  5. //if reports >1
  6. new query[128];
  7. mysql_format(handle, query, sizeof(query), "DELETE FROM `Reports`");
  8. mysql_query(handle, query, false);
  9.  
  10. KillTimer(jailtimer);
  11. KillTimer(MoneyProof);
  12. KillTimer(colorcheck);
  13. KillTimer(ScoreSet);
  14. KillTimer(xReactionTimer);
  15. for(new i=0; i<sizeof(House); i++)
  16. {
  17. if(House[i][houseid] == -1) continue;
  18. SaveHouse(i);
  19. }
  20. mysql_close(handle);
  21. return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement