06.03.2009, 22:38
I'm trying to save co-ordinates to a text file, i can only get it to save 0.0000
I'm also trying to save hex colours to a text file.
this is what i've tried
it compiles fine, no errors or warnings, then when i try to save the position with a command i made it saves as 0.0000
Alsoi've tried this
only this time i get two warnings.
I'm also trying to save hex colours to a text file.
this is what i've tried
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
format(GangZoneInfo[spaces][zXpos1], 32, "%f", X);
format(GangZoneInfo[spaces][zYpos1], 32, "%f", Y);
Alsoi've tried this
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
GangZoneInfo[spaces][zXpos1] = X;//warning 213: tag mismatch
GangZoneInfo[spaces][zYpos1] = Y;//warning 213: tag mismatch