How to pass this to a dialog
#8

pawn Код:
for(new i; i < 5; ++i)
    {
            if(i < index)
            {
                GetPlayerName(playerScores[i][player_ID], player_Name, sizeof(player_Name));
                format(score_Text, sizeof(score_Text), "%s~n~~b~%d. ~w~%s - ~r~%d", score_Text, i + 1, player_Name, playerScores[i][player_Score]);
            }
            else
            {
                format(score_Text, sizeof(score_Text), "%s~n~~b~%d. ~r~N/A", score_Text, i + 1);
            }
    }
    ShowPlayerDialog(playerid, ID DIALOG, DIALOG_STYLE_MSGBOX, "Top Players", score_Text, "OK", "");
    return 1;
}
Reply


Messages In This Thread
How to pass this to a dialog - by RiChArD_A - 27.05.2013, 02:01
Re: How to pass this to a dialog - by RiChArD_A - 27.05.2013, 14:39
Re: How to pass this to a dialog - by Vince - 27.05.2013, 15:05
Re: How to pass this to a dialog - by RiChArD_A - 27.05.2013, 17:30
Re: How to pass this to a dialog - by Pottus - 27.05.2013, 17:33
Re: How to pass this to a dialog - by RiChArD_A - 27.05.2013, 17:40
Re: How to pass this to a dialog - by Hernando - 27.05.2013, 17:56
Respuesta: How to pass this to a dialog - by Loox - 27.05.2013, 18:08
Re: Respuesta: How to pass this to a dialog - by RiChArD_A - 27.05.2013, 21:24
Respuesta: How to pass this to a dialog - by Loox - 28.05.2013, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)