Da rade przerobic ten plugin zeby byly jeszcze nowe wiadomosci np "amx_scrollmsg2" i "amx_scrollmsg3" itd np. do 10? i zeby byly one losowo pokazywane?
Spoiler
#include <amxmodx> #include <amxmisc>
#define SPEED 0.3 #define SCROLLMSG_SIZE 512
new g_startPos new g_endPos new g_scrollMsg[SCROLLMSG_SIZE] new g_displayMsg[SCROLLMSG_SIZE] new Float:g_xPos new g_Length new g_Frequency
public plugin_init() { register_plugin("Scrolling Message", AMXX_VERSION_STR, "AMXX Dev Team") register_dictionary("scrollmsg.txt") register_dictionary("common.txt") register_srvcmd("amx_scrollmsg", "setMessage") }
public showMsg() { new a = g_startPos, i = 0
while (a < g_endPos) g_displayMsg[i++] = g_scrollMsg[a++]