25.12.2009, 15:49
Topic says all.
I have a problem. I want it to display the position like..
X:123.1234 Y:123.1234 Z: 123.1234
But its displaying it like..
109842174982147 1239801487234 198734289734 -.-
Here is my code...
What am i doing wrong?
I have a problem. I want it to display the position like..
X:123.1234 Y:123.1234 Z: 123.1234
But its displaying it like..
109842174982147 1239801487234 198734289734 -.-
Here is my code...
pawn Код:
format(string, sizeof(string), "\t%s's Stats\n\nKills: %d\nDeaths: %d\nRatio: %0.2f\nMoney: $%d\nScore: %d\nPosition: X:%.d Y:%.d Z:%.d\nTime Played: %d Hours %d Minutes %d Seconds",PlayerName2(player1), PlayerInfo[player1][Kills], PlayerInfo[player1][Deaths],Float:PlayerInfo[player1][Kills]/Float:pDeaths,GetPlayerMoney(player1),GetPlayerScore(player1),xpos, ypos, zpos, h, m, s);
return ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "Player's Stats!", string, "Ok", "Exit");