Hallo,
wollte fragen ob ich mein carsystem so richt hab beim Speichern
stock CarSpeichern(playerid)
{
for(new i = 0; i < 3; i++)
{
new Spielerdatei[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Autodatei,sizeof(Autodatei),"/Autos/%s_Auto_%d.txt",name,i);
dini_IntSet(Autodatei,"Farbe1",GetPVarInt(playeri,i,"Farbe1"));
dini_IntSet(Autodatei,"Farbe2",GetPVarInt(playeri,i,"Farbe2"));
dini_IntSet(Autodatei,"Lock",GetPVarInt(playeri,i,"Lock"));
dini_IntSet(Autodatei,"posx",GetPVarInt(playeri,i,"posx"));
dini_IntSet(Autodatei,"posy",GetPVarInt(playeri,i,"posy"));
dini_IntSet(Autodatei,"posz",GetPVarInt(playeri,i,"posz"));
dini_IntSet(Autodatei,"posa",GetPVarInt(playeri,i,"posa"));
dini_IntSet(Autodatei,"HP",GetPVarInt(playeri,i,"HP"));
dini_IntSet(Autodatei,"Nummernschild",GetPVarInt(playeri,i,"Nummernschild"));
dini_IntSet(Autodatei,"Spoiler",GetPVarInt(playeri,i,"Spoiler"));
dini_IntSet(Autodatei,"Hood",GetPVarInt(playeri,i,"Hood"));
dini_IntSet(Autodatei,"Roof",GetPVarInt(playeri,i,"Roof"));
dini_IntSet(Autodatei,"Sideskirt",GetPVarInt(playeri,i,"Sideskirt"));
dini_IntSet(Autodatei,"Roof",GetPVarInt(playeri,i,"Roof"));
dini_IntSet(Autodatei,"Roof",GetPVarInt(playeri,i,"Roof"));
dini_IntSet(Autodatei,"Roof",GetPVarInt(playeri,i,"Roof"));
dini_IntSet(Autodatei,"Roof",GetPVarInt(playeri,i,"Roof"));
dini_IntSet(Autodatei,"Roof",GetPVarInt(playeri,i,"Roof"));
dini_IntSet(Autodatei,"Roof",GetPVarInt(playeri,i,"Roof"));
}
}