Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnQueryError( errorid, error[ ], callback[ ], query[ ], connectionHandle )
- {
- if(errorid == 2003) {
- foreach(Player, i) {
- if(IsPlayerConnected(i) && IsPlayerLogged[i] == 1) {
- SCM(i, COLOR_CLIENT, "SERVER: Ai primit kick deoarece sunt probleme tehnice cu baza de date!");
- SCM(i, COLOR_CLIENT, "SERVER: Revenim cat mai repede posibil. Nu exista un termen anume.");
- KickEx(i);
- }
- }
- SendRconCommand("password boss");
- SendRconCommand("hostname "SERVER_NAME" RPG - Probleme tehnice (0.3.7)");
- return true;
- }
- print( "====================================================================" );
- printf( "Error ID: %d, Eroare: %s", errorid, error );
- printf( "Callback: %s", callback );
- printf( "gQuery: %s", query );
- print( "====================================================================" );
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement