Advertisement
Guest User

Untitled

a guest
Apr 26th, 2020
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. public OnQueryError( errorid, error[ ], callback[ ], query[ ], connectionHandle )
  2.  
  3. {
  4.  
  5. if(errorid == 2003) {
  6.  
  7. foreach(Player, i) {
  8.  
  9. if(IsPlayerConnected(i) && IsPlayerLogged[i] == 1) {
  10.  
  11. SCM(i, COLOR_CLIENT, "SERVER: Ai primit kick deoarece sunt probleme tehnice cu baza de date!");
  12.  
  13. SCM(i, COLOR_CLIENT, "SERVER: Revenim cat mai repede posibil. Nu exista un termen anume.");
  14.  
  15. KickEx(i);
  16.  
  17. }
  18.  
  19. }
  20.  
  21. SendRconCommand("password boss");
  22.  
  23. SendRconCommand("hostname "SERVER_NAME" RPG - Probleme tehnice (0.3.7)");
  24.  
  25. return true;
  26.  
  27. }
  28.  
  29. print( "====================================================================" );
  30.  
  31. printf( "Error ID: %d, Eroare: %s", errorid, error );
  32.  
  33. printf( "Callback: %s", callback );
  34.  
  35. printf( "gQuery: %s", query );
  36.  
  37. print( "====================================================================" );
  38.  
  39. return true;
  40.  
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement