27.11.2010, 11:36
This won't work. You need to use a static name for the folder and create it.
pawn Код:
public SavePlayerVehicleColor(playerid, c1, c2)
{
GetPlayerName(playerid, pname, sizeof(pname));
format(file, sizeof file,"VehicleColors/%s.ini",pname);
if (dini_Exists(file))
{
dini_IntSet((file),"Color1",c1);
dini_IntSet((file),"Color2",c2);
return 1;
}
}

