18.08.2016, 21:31
This is probably pretty simple, but I'm unable to figure it out. Saving coordinates to an ini file, this seems to remove the decimal from each float, C1X, C1Y, C1Z.. How would I save it as a float?
Код:
format(var, 64, "C1X=%d\n",C1X[playerid]);fwrite(hFile, var); format(var, 64, "C1Y=%d\n",C1Y[playerid]);fwrite(hFile, var); format(var, 64, "C1Z=%d\n",C1Z[playerid]);fwrite(hFile, var);