You need a 2 dimensions array for this, if you want to have a player specific text.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define MAX_PLAYERS 32
#define MAX_STRING_LENGTH 32
new Test[MAX_PLAYERS + 1][MAX_STRING_LENGTH]
#define PLUGIN "Test"
#define VERSION "1.0"
#define AUTHOR "Test"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /test", "Func")
register_clcmd("say /show", "Show")
}
public Func(id)
{
formatex(Test[id], charsmax(Test[]), "Test")
}
public Show(id)
{
client_print(id, print_chat, "[AMXX] Test : %s", Test[id])
}
__________________