dcmd_save(playerid,params[])
{
#pragma unused params, playerid
for(new g=0;g<MAX_PLAYERS;g++)
{
new name[128], save[128];
GetPlayerName(g,name,sizeof(name));
format(save,sizeof(save),"/Spieler/%s.ini",name);
if(dini_Exists(save))
{
dini_IntSet(save,"Geld",GetPlayerMoney(g));
dini_IntSet(save,"Skin",GetPlayerSkin(g));
dini_IntSet(save,"Score",GetPlayerScore(g));
dini_IntSet(save,"admin",pInfo[g][admin]);
dini_IntSet(save,"panzerlic",pInfo[g][panzerlic]);
}
}
return 1;
Wieso geht das nicht?