Displaying Exact Location In Dialog Problem!
#1

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...

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");
What am i doing wrong?
Reply


Messages In This Thread
Displaying Exact Location In Dialog Problem! - by DiddyBop - 25.12.2009, 15:49
Re: Displaying Exact Location In Dialog Problem! - by Marcel - 25.12.2009, 15:52
Re: Displaying Exact Location In Dialog Problem! - by WackoX - 25.12.2009, 16:00
Re: Displaying Exact Location In Dialog Problem! - by DiddyBop - 25.12.2009, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)