Problemy z kompilacją Dodatki.amxx
krzysztofr
24.07.2015
Witam mam problem z kompilacją pluginu Dodatki.amxx.
Gdy kompiluję, to takie coś mi wyskakuje:
Welcome to the AMX Mod X 1.8.1-300 Compiler.Copyright © 1997-2013 ITB CompuPhase, AMX Mod X TeamDodatki.sma(23) : error 021: symbol already defined: "register_logevent"Dodatki.sma(39) : warning 213: tag mismatchDodatki.sma(40) : warning 213: tag mismatchDodatki.sma(41) : warning 213: tag mismatchDodatki.sma(42) : warning 213: tag mismatch1 Error.
Could not locate output file Dodatki.amxx (compile failed).
Proszę o pomoc. Z góry dziękuję. W załączniku plik.
Pozdrawiam.
Załączone pliki
Użytkownik krzysztofr edytował ten post 24.07.2015 16:28
glut
24.07.2015
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <hamsandwich> #include <fun> #include <cstrike> #include <engine> #include <fakemeta_util> #include <nvault> #define PLUGIN "Dodatki serwera JailBreak" #define VERSION "1.0" #define AUTHOR "krzysztofr" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_logevent("Round_End", 2, "1=Round_End") register_logevent("Round_Start", 2, "1=Round_Start") } public plugin_precache() { precache_sound("JailBreak[k]/dzwonek.wav"); } public Round_End() { precache_sound("JailBreak[k]/dzwonek.wav"); } public Round_Start() { set_task(4.0,"Wiadomosci"); set_task(10.0,"Wiadomosci2"); set_task(40.0,"Wiadomosci2"); set_task(70.0,"Wiadomosci2"); } public Wiadomosci() { client_print(0,print_center,"Dzisiaj jest nowy dzien i nowe polecenia"); } public Wiadomosci2() { client_print(0,print_center,"Jezeli jestes ostatnim wiezniem wpisz /lr aby wybrac zyczenie"); }