Kann das so gehen wie ich das mache?
enum CarInfo
{
Kennzeichen[18],
Float:cx,
Float:cy,
Float:cz,
Float:ca,
Float:sx,
Float:sy,
Float:sz,
Float:sa,
CarID,
C,
C2
}
stock CreateVehData(vehicleid)
{
new str[64];
format(str,sizeof(str),"/cars/%s.ini",SpielerName(playerid));
dini_Create(str);
dini_IntSet(str,"CarID",cInfo[vehicleid][CarID]);
dini_Set(str,"NumPlate",cInfo[vehicleid][Kennzeichen]);
dini_IntSet(str,"Color1",cInfo[vehicleid][C]);
dini_IntSet(str,"Color2",cInfo[vehicleid][C2]);
dini_Float(str,"x",cInfo[vehicleid][cx]);
dini_Float(str,"y",cInfo[vehicleid][cy]);
dini_Float(str,"z",cInfo[vehicleid][cz]);
dini_Float(str,"a",cInfo[vehicleid][ca]);
return 1;
}