/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "MaKeL" new g_TEKST[7][] = { "HS_MSG_1", "HS_MSG_2", "HS_MSG_3", "HS_MSG_4", "HS_MSG_5", "HS_MSG_6", "HS_MSG_7" } public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("ResetHUD","Runda","b") register_dictionary("tekst.txt") } public Runda() { set_hudmessage(255, 255, 255, 0.01, 0.67, 0, 6.0, 12.0) show_hudmessage(0, "%L",g_TEKST[random_num(0, 6)]) }
tekst.txt
HS_MSG_1 = a HS_MSG_2 = b HS_MSG_3 = c HS_MSG_4 = d HS_MSG_5 = e HS_MSG_6 = f HS_MSG_7 = g
Zamiast abcdefg wyskakuje jakies dziwne napiosy
co jest zle