PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <Core>
#define PLUGIN "Register loto"
#define VERSION "1.0"
#define AUTHOR "Ute^^"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /registerloto", "Register")
// Add your code here...
}
public Register(id)
{
new szName[33];
get_user_name(id, szName, 32)
write_file("freeloto.html", "<LI TYPE=square>" & szName & "</LI><br>", -1)
return PLUGIN_CONTINUE;
}
show that array must be indexed on line 23
__________________