Moin,
ich würde gerne wissen, wie man hier den Namen also die ID des users wiedergeben kann:
new File:hFile3=fopen("tickets/fragen.ini", io_read);
if(flength(hFile3) <= 1)
{
SendClientMessage(playerid, 0x00FF00FF,"Es liegen keine Fragen vor!");
return 1;
}
new string3[256];
new string2[256];
new sstring[256];
string3 = dini_Get("tickets/fragen.ini", "Frage");
string2 = dini_Get("tickets/fragen.ini", "Text");
SendClientMessage(playerid, GRAD2, "________________________________________");
format(sstring, sizeof(sstring), "[Frage]Der Spieler %s hat geschrieben:",string3);
SendClientMessage(playerid,COLOR_YELLOW,sstring);
SendClientMessage(playerid,COLOR_YELLOW,string2);
SendClientMessage(playerid, GRAD2, "________________________________________");
setline(0,"\0","tickets/fragen.ini");
setline(0,"\0","tickets/fragen.ini");
fclose(hFile3);
return 1;
MfG
112Dominik112