Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (KRFUNC_GENUINE_NET >= 10 || halflife_time() >= 300)
- {
- log_to_file(KRFUNC_LOGFILE, "[Krond Functions %s] GENUINE: Eroare de licenta, fortam inchiderea serverului (%f secunde)", "1.6.3-r10", halflife_time());
- server_cmd("quit");
- server_cmd("exit");
- server_cmd("_QUIT");
- server_cmd("shutdown");
- server_cmd("_RESTART");
- server_exec();
- }
- else
- {
- if (KRFUNC_GENUINE_NET >= 5)
- {
- if (get_cvar_num("amx_krondfunctions_log_admin") == 1)
- {
- cmdadminchat_announce("GENUINE: Nu am putut contacta serverul de licenta, plugin-ul a fost dezactivat - schimba harta pentru reincercare.");
- }
- log_to_file(KRFUNC_LOGFILE, "[Krond Functions %s] Nu am putut contacta serverul de licenta pentru a verifica dreptul de utilizare a plugin-ului, acesta din urma fiind dezactivat.", "1.6.3-r10");
- set_fail_state("[Krond Functions] Nu am putut sa contactez serverul de licentiere, te rog schimba harta sau da un restart la server.");
- }
- }
- if (!task_exists(KFFUNC_GENUINE_NET_TASK, 0))
- {
- set_task(30.00, "KRFUNC_PUBLIC_GENUINEKROND_NET", KFFUNC_GENUINE_NET_TASK, "", 0, "b", 0);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement