Przy kompilacji wyskakuje :
vipinfov1_0.sma(14) : warning 217: loose indentation
vipinfov1_0.sma(16) : error 001: expected token: "-identifier-", but found "-string-"
vipinfov1_0.sma(28) : warning 203: symbol is never used: "vipinfo"
1 Error.
Could not locate output file vipinfov1_0.amxx (compile failed).
Tutaj kod pluginu
#include <amxmodx> #include <amxmisc> #define PLUGIN "Vipinfo" #define VERSION "1.0" #define AUTHOR "R0bi" new vipinfo public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /infovip","vipinfo") register_clcmd("say /vipinfo","vipinfo") register_logevent("pokaz_info",2,"1=Round_Start") } public "vipinfo"(id) { show_motd(id,"/addons/amxmodx/data/vipinfo.txt","Co ma VIP") } } public pokaz_info(id) { client_print(0,print_chat,"Aby Zobaczyc co posiada VIP : wpisz /vipinfo") }