Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Dlugi - zdjęcie

Dlugi

Rejestracja: 10.10.2017
Aktualnie: Nieaktywny
Poza forum Ostatnio: 03.03.2018 08:46
-----

Moje tematy

Problem z Crashami

10.12.2017 12:24

Witam!

Przynajmniej 5-6 razy dziennie crashuje mi się serwer!

Oto logi może mi ktoś powiedzieć ocb?

L 12/10/2017 - 00:00:35: Start of error session.
L 12/10/2017 - 00:00:35: Info (map "css_dust3") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 00:00:35: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 00:00:35: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 00:01:00: Start of error session.
L 12/10/2017 - 00:01:00: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 00:01:00: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 00:01:00: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 00:19:12: Start of error session.
L 12/10/2017 - 00:19:12: Info (map "css_dust2_remake") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 00:19:12: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 00:19:12: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 00:35:22: Start of error session.
L 12/10/2017 - 00:35:22: Info (map "css_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 00:35:22: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 00:35:22: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 00:43:28: Start of error session.
L 12/10/2017 - 00:43:28: Info (map "css_india2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 00:43:28: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 00:43:28: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:01:01: Start of error session.
L 12/10/2017 - 01:01:01: Info (map "css_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:01:01: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:01:01: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:02:45: Start of error session.
L 12/10/2017 - 01:02:45: Info (map "css_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:02:45: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:02:45: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:17:30: Start of error session.
L 12/10/2017 - 01:17:30: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:17:30: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:17:30: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:19:54: Start of error session.
L 12/10/2017 - 01:19:54: Info (map "css_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:19:54: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:19:54: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:38:32: Start of error session.
L 12/10/2017 - 01:38:32: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:38:32: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:38:32: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:42:57: Start of error session.
L 12/10/2017 - 01:42:57: Info (map "css_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:42:57: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:42:57: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:54:03: Start of error session.
L 12/10/2017 - 01:54:03: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:54:03: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:54:03: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 01:58:20: Start of error session.
L 12/10/2017 - 01:58:20: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 01:58:20: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 01:58:20: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 02:00:44: Start of error session.
L 12/10/2017 - 02:00:44: Info (map "css_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 02:00:44: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 02:00:44: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 02:08:47: Start of error session.
L 12/10/2017 - 02:08:47: Info (map "css_overpass") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 02:08:47: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 02:08:47: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 02:30:40: Start of error session.
L 12/10/2017 - 02:30:40: Info (map "css_cache") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 02:30:40: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 02:30:40: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 03:07:31: Start of error session.
L 12/10/2017 - 03:07:31: Info (map "css_inferno") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 03:07:31: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 03:07:31: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 03:08:14: Start of error session.
L 12/10/2017 - 03:08:14: Info (map "css_dust2_go") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 03:08:14: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 03:08:14: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 03:08:25: Start of error session.
L 12/10/2017 - 03:08:25: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 03:08:25: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 03:08:25: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 03:09:22: Start of error session.
L 12/10/2017 - 03:09:22: Info (map "css_india2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 03:09:22: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 03:09:22: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 03:29:33: Start of error session.
L 12/10/2017 - 03:29:33: Info (map "css_dust2_remake") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 03:29:33: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 03:29:33: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 03:47:44: Start of error session.
L 12/10/2017 - 03:47:44: Info (map "css_kabul") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 03:47:44: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 03:47:44: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 04:05:56: Start of error session.
L 12/10/2017 - 04:05:56: Info (map "css_nuke") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 04:05:56: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 04:05:56: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 04:24:07: Start of error session.
L 12/10/2017 - 04:24:07: Info (map "css_mirage") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 04:24:07: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 04:24:07: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 04:42:19: Start of error session.
L 12/10/2017 - 04:42:19: Info (map "css_inferno") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 04:42:19: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 04:42:19: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 05:00:30: Start of error session.
L 12/10/2017 - 05:00:30: Info (map "css_assault") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 05:00:30: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 05:00:30: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 05:18:42: Start of error session.
L 12/10/2017 - 05:18:42: Info (map "css_india2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 05:18:42: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 05:18:42: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 05:36:53: Start of error session.
L 12/10/2017 - 05:36:53: Info (map "css_overpass") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 05:36:53: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 05:36:53: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 05:55:04: Start of error session.
L 12/10/2017 - 05:55:04: Info (map "css_kabul2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 05:55:04: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 05:55:04: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 06:13:16: Start of error session.
L 12/10/2017 - 06:13:16: Info (map "css_nuke") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 06:13:16: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 06:13:16: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 06:31:27: Start of error session.
L 12/10/2017 - 06:31:27: Info (map "css_mirage") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 06:31:27: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 06:31:27: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 06:49:38: Start of error session.
L 12/10/2017 - 06:49:38: Info (map "css_train") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 06:49:38: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 06:49:38: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 07:07:50: Start of error session.
L 12/10/2017 - 07:07:50: Info (map "css_overpass") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 07:07:50: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 07:07:50: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 07:26:01: Start of error session.
L 12/10/2017 - 07:26:01: Info (map "css_aztec") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 07:26:01: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 07:26:01: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 07:44:13: Start of error session.
L 12/10/2017 - 07:44:13: Info (map "css_dust3") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 07:44:13: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 07:44:13: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 08:02:24: Start of error session.
L 12/10/2017 - 08:02:24: Info (map "css_dust2_remake") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 08:02:24: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 08:02:24: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 08:20:36: Start of error session.
L 12/10/2017 - 08:20:36: Info (map "css_train") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 08:20:36: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 08:20:36: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 08:38:47: Start of error session.
L 12/10/2017 - 08:38:47: Info (map "css_overpass") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 08:38:47: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 08:38:47: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 08:56:58: Start of error session.
L 12/10/2017 - 08:56:58: Info (map "css_nuke") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 08:56:58: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 08:56:58: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 09:15:10: Start of error session.
L 12/10/2017 - 09:15:10: Info (map "css_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 09:15:10: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 09:15:10: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 09:33:21: Start of error session.
L 12/10/2017 - 09:33:21: Info (map "css_dust2_remake") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 09:33:21: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 09:33:21: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 09:51:33: Start of error session.
L 12/10/2017 - 09:51:33: Info (map "css_mirage") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 09:51:33: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 09:51:33: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 10:09:44: Start of error session.
L 12/10/2017 - 10:09:44: Info (map "css_india2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 10:09:44: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 10:09:44: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 10:27:55: Start of error session.
L 12/10/2017 - 10:27:55: Info (map "css_dust3") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 10:27:55: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 10:27:55: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 10:46:07: Start of error session.
L 12/10/2017 - 10:46:07: Info (map "css_kabul2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 10:46:07: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 10:46:07: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 11:23:04: Start of error session.
L 12/10/2017 - 11:23:04: Info (map "css_inferno") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 11:23:04: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 11:23:04: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 12:00:40: [MySQL] Invalid handle: 3
L 12/10/2017 - 12:00:40: [AMXX] Run time error 10 (plugin "amxbans_core.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 12/10/2017 - 12:00:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 12/10/2017 - 12:00:40: [nVault] Invalid vault id: 0

L 12/10/2017 - 12:00:40: [AMXX] Run time error 10 (plugin "nVaultAdmins.amxx") (native "nvault_close") - debug not enabled!
L 12/10/2017 - 12:00:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 12/10/2017 - 12:00:40: Invalid array handle provided (0)
L 12/10/2017 - 12:00:40: [AMXX] Run time error 10 (plugin "vip.amxx") (native "ArrayDestroy") - debug not enabled!
L 12/10/2017 - 12:00:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 12/10/2017 - 12:00:40: Start of error session.
L 12/10/2017 - 12:00:40: Info (map "css_mirage") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 12:00:40: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 12:00:40: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")
L 12/10/2017 - 12:00:52: Start of error session.
L 12/10/2017 - 12:00:52: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171210.log")
L 12/10/2017 - 12:00:52: [AMXX] Plugin file open error (plugin "tsc_file_creator.amxx")
L 12/10/2017 - 12:00:52: [AMXX] Plugin file open error (plugin "tsc_file_editor.amxx")

Problem z mvp

08.12.2017 09:25

Witam moze mi ktoś powiedzieć czemu nie dodaje euro na koniec rundy?
 

/* Plugin generated by AMXX-Studio */


#include <amxmodx>
#include <csx>
#include <cstrike>
#include <csgo>


new g_iPunktyMVPGracza[33];
new g_iNagrodyMVPGracza[33];


new g_iBonusDoWybuchu;
new g_iOstatniOdprowadzajacy;
new g_iIloscSlotow;


public plugin_init() {
register_plugin("CSGO Mod: MVP", "1.0", "donaciak.pl");


register_cvar("csgo_mvp_euroaward", "700");


register_event("DeathMsg", "ev_DeathMsg", "a"); 
register_logevent("ev_HostOdprowadzony", 3, "1=triggered", "2=Rescued_A_Hostage");
register_logevent("ev_HostyOdprowadzone", 6, "2=triggered", "3=All_Hostages_Rescued");
register_event("SendAudio", "WygranaTerro" , "a", "2&%!MRAD_terwin");
register_event("SendAudio", "WygranaCT", "a", "2&%!MRAD_ctwin");


set_task(0.1, "task_NagrodaNajwiecejMVP", _, _, _, "d");
g_iIloscSlotow = get_maxplayers();
}


public client_putinserver(id) {
g_iPunktyMVPGracza[id] = 0;
g_iNagrodyMVPGracza[id] = 0;
}


public ev_DeathMsg() {
new iAtt = read_data(1);
new id = read_data(2);


if(!is_user_connected(iAtt) || get_user_team(id) == get_user_team(iAtt)) {
return;
}


g_iPunktyMVPGracza[iAtt] += 3;
}


public ev_HostOdprowadzony()
{
new id = get_loguser_index();


if(!is_user_alive(id))
return PLUGIN_CONTINUE;


g_iOstatniOdprowadzajacy = id;
g_iPunktyMVPGracza[id] += 1;


return PLUGIN_CONTINUE;
}


public ev_HostyOdprowadzone()
{
new id = g_iOstatniOdprowadzajacy;
new iPunkty = 1;


if(PobierzIloscGraczy(1)) {
iPunkty += 2;


if(PobierzIloscGraczy(2) == 1) { 
iPunkty += 2;
}
}


g_iPunktyMVPGracza[id] += iPunkty;


return PLUGIN_CONTINUE;
}


public bomb_planted(id) {
new iIloscTT = PobierzIloscGraczy(1);
if(iIloscTT == 1) {
g_iPunktyMVPGracza[id] += 2;
g_iBonusDoWybuchu = 2;
}
else {
g_iPunktyMVPGracza[id] += 1;
}
}


public bomb_explode(id, iDef) {
new iPunkty = 1+g_iBonusDoWybuchu;
if(PobierzIloscGraczy(2)) {
iPunkty += 1;


if(PobierzIloscGraczy(1) == 1) { 
iPunkty += 1;
}
}


g_iPunktyMVPGracza[id] += iPunkty;
}


public bomb_defused(id) {
new iPunkty = 3;
if(PobierzIloscGraczy(1)) {
iPunkty += 2;


if(PobierzIloscGraczy(2) == 1) { 
iPunkty += 2;
}
}


g_iPunktyMVPGracza[id] += iPunkty;
}


public WygranaCT() { 
WygranaRunda(2);
}


public WygranaTerro() {
WygranaRunda(1);
}


public WygranaRunda(iTeam) {
static iWymaganaIloscGraczy;


if(!iWymaganaIloscGraczy) {
iWymaganaIloscGraczy = get_cvar_num("csgo_wymaganailoscgraczygranie");
}


if(get_playersnum() < iWymaganaIloscGraczy)
return;


new id, iNajlepszyWynik;
for(new i = 1; i <= g_iIloscSlotow; i++) {
if(is_user_connected(i) && get_user_team(i) == iTeam && g_iPunktyMVPGracza[i] >= iNajlepszyWynik) {
id = i;
iNajlepszyWynik = g_iPunktyMVPGracza[i];
}


g_iPunktyMVPGracza[i] = 0;
}


new szNick[32];
get_user_name(id, szNick, 31);


csgo_print_message(0, "^x04[MVP]^x01 Najbardziej wartosciowym zawodnikiem rundy zostal(a)^x03 %s!^x01 Brawo!", szNick);
g_iNagrodyMVPGracza[id] ++;


g_iBonusDoWybuchu = 0;
}


public task_NagrodaNajwiecejMVP() {
new id, iNajlepszyWynik;
for(new i = 1; i <= g_iIloscSlotow; i++) {
if(is_user_connected(i) && g_iNagrodyMVPGracza[i] > iNajlepszyWynik) {
id = i;
iNajlepszyWynik = g_iNagrodyMVPGracza[i];
}
}


if(!id) {
return;
}


new szNick[32], iIloscEuro = get_cvar_num("csgo_mvp_euroaward"), szEuro[32];
get_user_name(id, szNick, 31);
csgo_format_euro(iIloscEuro, szEuro, 31);


csgo_set_user_euro(id, csgo_get_user_euro(id) + iIloscEuro);


csgo_print_message(0, "^x04[MVP]^x01 Najwiecej nagrod MVP, bo az^x03 %d^x01 zdobyl(a)...^x03%s!", iNajlepszyWynik, szNick);
csgo_print_message(0, "^x04[MVP]^x01 W nagrode dostaje on(a)^x04 +%s Euro!", szEuro);
}


stock PobierzIloscGraczy(iTeam) { 
new iIlosc;
for(new i = 1; i <= g_iIloscSlotow; i++) {
if(is_user_alive(i) && get_user_team(i) == iTeam) {
iIlosc ++;
}
}


return iIlosc;
}
stock get_loguser_index() 
{
new loguser[80], name[32]
read_logargv(0, loguser, 79)
parse_loguser(loguser, name, 31)
return get_user_index(name)
}
 

Problem z klasa?

28.11.2017 17:49

Witam! 

Mam problem otóż klasa nie może kłaść paki oraz nie dziłają na niej perki może mi ktoś powiedzieć gdzie błąd?
Oto kod sma 
 

#include <amxmodx>
#include <engine>
#include <codmod_frakcje>
#include <fakemeta> 
#include <fun>
#include <cstrike>
#include <amxmisc>
#include <codmod>

new const nazwa[] = "Dezerter";
new const opis[] = "Posiada 1HP na stale, jest caly niewidzialny oraz posiada tylko noz";
new const bronie = 0;
new const zdrowie = -99;
new const kondycja = 25;
new const inteligencja = 0;
new const wytrzymalosc = 20;

new bool:ma_klase[33];
new const frakcja[] = "Alianci";
public plugin_init()
{
        register_plugin(nazwa, "1.0", "Mentos");
        cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc, frakcja);

	register_event("CurWeapon","CurWeapon","be")
	register_event("Health", "Health", "be")
}

public cod_class_enabled(id, wartosc)
{
        set_user_health(id, 1);
	ma_klase[id] = true;
}
public cod_class_disabled(id)
{
	set_user_rendering(id,kRenderFxGlowShell,0,0,0 ,kRenderTransAlpha, 255);
	ma_klase[id] = false;
}

public CurWeapon(id)
{
	if (is_user_connected(id))
		if (ma_klase[id]) engclient_cmd(id,"weapon_knife") 	
}
public client_PreThink ( id ) 
{
	if(ma_klase[id]) set_user_rendering(id,kRenderFxGlowShell,0,0,0 ,kRenderTransAlpha, 20);
		
	return PLUGIN_CONTINUE	
}

public Health(id)
{
        if(ma_klase[id] && is_user_alive(id) && read_data(1) > 1)
        {
                set_user_health(id, 1);
        }
}

Ewentualnie proszę o kompilacje na amxx 

[KOSZ] Kilka problemów

21.11.2017 09:15

Witam!
 

Pobrałem tego moda 

https://amxx.pl/topic/147843-cod-mod-ii-wojna-światowa-od-epal/

i wszystko działa po tym jak epal wysłał mi pw :]

 

ale problemy tez mam

 

1. Nie potrafię naprawić tego błędu na say z s1:s2 to znaczy są prefixy ale brak tego co się pisze na say( a bardziej może który plik edytować i która to linijka i co zmienić?

 

2.Jak tu podpiąć sql z pukawki do zapisu bo nie bardzo rozumiem wcześiej wisywałem do cfg cod moda a tutaj nie mam pojęcia jak i gdzie?

Nagrodze +

Problem cod MW

12.11.2017 12:58

Witam.Pobrałem COD MW od DarkGL
 

https://amxx.pl/topic/148579-global-war-mod-unikalna-paczka-serwera/

 i mam problemy

1.Jak naprawić prefixy w tym modzie?
2.Gdzie znajde plik odpowiedzialny za vipa?

Jest w stanie mi ktoś pomóc?