format(Datei(playerid),sizeof(Datei(playerid)),"/Spieler/%s.ini",Spielername(playerid));
Reallife.pwn(344) : error 072: "sizeof" operator is invalid on "function" symbols
Reallife.pwn(344) : warning 215: expression has no effect
Reallife.pwn(344) : error 001: expected token: ";", but found ")"
Reallife.pwn(344) : error 029: invalid expression, assumed zero
stock Spielername(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
return name;
}
stock Datei(playerid)
{
new Save[45];
format(Save, sizeof(Save), "/Spieler/%s.ini", spielername());
return Save;
}
Weiß wer ne Lösung?