It seems easier to just do global vars but w/e... hope you'll understand this
It may not be exactly what you want but you will probably edit it anyway...
And it looks like you're passing global vars... wich seems pretty stupid, but i belive it was an example...
Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
new param[100]
formatex(param, 99, "%d %d %d %d %d ^"%s^" ^"%s^"", g_Values[a][0], g_Values[a][1], g_Values[a][2], g_Pos[i][0], verpos, name, message)
set_task(1.0, "loophud", id, param, 99, "a", 5)
}
public loophud(param[]) {
new temp[32], temp2[100]
new g_Values[a][0], g_Values[a][1], g_Values[a][2], g_Pos[i][0], verpos, name[32], message[32]
strbreak(param, temp, 31, temp2, 99)
g_Values[a][0] = str_to_num(temp)
strbreak(temp2, temp, 31, temp2, 99)
g_Values[a][1] = str_to_num(temp)
strbreak(temp2, temp, 31, temp2, 99)
g_Values[a][2] = str_to_num(temp)
strbreak(temp2, temp, 31, temp2, 99)
g_Pos[i][0] = str_to_num(temp)
strbreak(temp2, temp, 31, temp2, 99)
verpos = str_to_num(temp)
strbreak(temp2, temp, 31, temp2, 99)
g_Values[a][2] = str_to_num(temp)
strbreak(temp2, name, 31, message, 31)
remove_quotes(name)
remove_quotes(message)
set_hudmessage(g_Values[a][0], g_Values[a][1], g_Values[a][2], g_Pos[i][0], verpos, 0, 2.0, 2.0, 1.0, 2.0, -1)
show_hudmessage(0, "%s : %s", name, message[i + n])
client_print(0, print_chat, "%s : %s", name, message[i + n])
}