19.07.2011, 18:41
Well i know this will look stupid or i am just big DINI noob:
Well i don't get errors and warning but it doesn't save location... and i set player already in vehicle... what is wrong?
pawn Код:
new lock = 0;
new Float:vehx, Float:vehy, Float:vehz,Float:rot;
GetVehiclePos(PCar[playerid][CarId], vehx, vehy, vehz);
GetVehicleZAngle(PCar[playerid][CarId],rot);
dini_IntSet(save,"Cost", PCar[playerid][Cost]);
dini_IntSet(save, "VehId", PCar[playerid][VehId]);
dini_FloatSet(save, "X", vehx);
dini_FloatSet(save, "Y", vehy);
dini_FloatSet(save, "Z", vehz);
dini_FloatSet(save, "R",rot);
dini_IntSet(save, "Locked", lock);
dini_Set(save, "CarPass",name);
dini_IntSet(save, "RepairCost", PCar[playerid][RepairCost]);