23.08.2016, 22:18
Hi,
I'm trying to save my vehicle colors
I managed to save it but I don't know how to load it.
Here is the system to load vehicle color:
what should I put instead xxxxxxx so it recognizes all AddStaticVehicle ?
I think I must stock them but I don't know how explain me please.
I'm trying to save my vehicle colors
I managed to save it but I don't know how to load it.
Here is the system to load vehicle color:
pawn Код:
ONGAMEMODEINIT
// AddStaticVehicle... //
{
new filename[256];
format(filename, sizeof(filename), "%d", 0);
carcolor1 = dini_Int(filename, "carcolor1");
carcolor1 = dini_Int(filename, "carcolor2");
ChangeVehicleColor(xxxxxxx, carcolor1, carcolor2);
}
I think I must stock them but I don't know how explain me please.