mach es so
new exists[512];
new pname[MAX_PLAYER_NAME];
new meldungen[512];
for(new i; i<MAX_PLAYERS; i++)
{
GetPlayerName(i,pname,sizeof(pname));
format(exists,sizeof(exists),"/Tickets/%s.ini",pname);
format(meldungen,sizeof(meldungen),"%s\n",pname);
return 1;
}
oder so
new exists[512];
new pname[MAX_PLAYER_NAME];
new meldungen[512];
for(new i; i<MAX_PLAYERS; i++)
{
GetPlayerName(i,pname,sizeof(pname));
format(exists,sizeof(exists),"/Tickets/%s.ini",pname);
format(meldungen,sizeof(meldungen),"%s\n",pname);
break;
}