Witam,
Podczas kompilacji prostego pliku .sma wystąpił następujący błąd.Jak go naprawić?
#include <amxmodx> #include <fun> #define PLUGIN "PLUG" #define VERSION "1.0" #define AUTHOR "Dawid" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /dodajhp","hp") } public hp(id) { if(is_user_alive(id)) { set_user_health(id, 150) client_print(id, print_chat, "Ustawiono Ci 150hp) } else client_print(id,print_chat, "Niestety, ale jestes niezywy i nie mozesz uzyc tej komendy"); }
Błąd:
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team ks.sma(20) : error 037: invalid string (possibly non-terminated string) 1 Error. Could not locate output file ks.amxx (compile failed).
Proszę o wskazanie mi błędu, który popełniłem.Z góry dzięki za pomoc.