ok i have edit is:
get:
Code:
Error: Must be a constant expression; assumed zero on line 18
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin("test", "0.1", "Deltachaos");
register_clcmd("say all","test",0,"");
}
public test(id)
{
set_hudmessage(255, 0, 0, -1.0, 0.9, 0, 6.0, 12.0, 2.0, 2.0, 4);
if(file_exists("addons/amxmodx/configs/msg.txt"))
{
new datei = fopen("addons/amxmodx/configs/msg.txt", "r");
new themp[50];
new msg[] = fgets(datei, themp, 50);
fclose(datei);
show_hudmessage(id, " test");
show_hudmessage(id, msg);
}
}
how can i get the string into the variable?