27.01.2012, 19:14
My pawno crashes with this lines:
What did i do wrong?
pawn Код:
new Msg[500];
new Float:Ratio = (float(pInfo[playerid][Kills])/float(pInfo[playerid][Deaths]));
format(Msg, sizeof(Msg), ""COL_PINK"Kills: "COL_GREY"[%d]\n"COL_PINK""COL_PINK"Deaths: "COL_GREY"[%d] \n"COL_PINK"Score: "COL_GREY"[%d]\n"COL_PINK"Money: "COL_GREY"[$ %d]\n"COL_PINK"Adminlevel: "COL_GREY"[%d]\n"COL_PINK"Ratio: "COL_GREY"%.3f\n"COL_PINK"Warns: "COL_GREY"[%d]\n\n\n"COL_PINK"Total Online Time: "COL_GREY"[%d]", pInfo[playerid][Kills], pInfo[playerid][Deaths],GetPlayerScore(playerid),GetPlayerMoney(playerid), pInfo[playerid][Admin], Ratio, pInfo[playerid][Warns], pInfo[playerid][Online]);
ShowPlayerDialog(playerid, 555, DIALOG_STYLE_MSGBOX, ""COL_ORANGE"Your Stats", Msg,"Ok","");