Hallo leuts!
Ich habe ein Problem bei einem Stock, aber ich kanns einfach nicht finden
stock LoadPlayer(playerid)
{
new SD[64],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(SD,sizeof(SD),"/SpielerAccounts/%s.txt",name);
// === SpielerCharaktere === //
sChar[playerid][Char1] = dini_Int(SD,"Char1"); // <
sChar[playerid][Name_Char1] = dini_Set(SD,"Name_Char1"); // <
sChar[playerid][Stufe_Char1] = dini_IntSet(SD,"Stufe_Char1"); // <
sChar[playerid][Char2] = dini_Int(SD,"Char2"); // <
sChar[playerid][Name_Char2] = dini_Set(SD,"Name_Char2"); // <
sChar[playerid][Stufe_Char2] = dini_IntSet(SD,"Stufe_Char2"); // <
sChar[playerid][Char3] = dini_Int(SD,"Char3"); // <
sChar[playerid][Name_Char3] = dini_Set(SD,"Name_Char3"); // <
sChar[playerid][Stufe_Char3] = dini_IntSet(SD,"Stufe_Char3"); // <
sChar[playerid][Char4] = dini_Int(SD,"Char4");
sChar[playerid][Name_Char4] = dini_Set(SD,"Name_Char4");
sChar[playerid][Stufe_Char4] = dini_IntSet(SD,"Stufe_Char4");
sChar[playerid][Char5] = dini_Int(SD,"Char5"); // <
sChar[playerid][Name_Char5] = dini_Set(SD,"Name_Char5"); // <
sChar[playerid][Stufe_Char5] = dini_IntSet(SD,"Stufe_Char5"); // <
return 1;
}
Bei jeden spuckt der Compiler das hier aus
number of arguments does not match definition