AddMenu Convert to ShowPlayerDialog
#9

pawn Код:
stock createVote()
{

    for (new i;i<4;i++) gVoteItems[i] = "RESET";
    new dstr[256], bool:check = false;
   // for (new i;i<4;i++) gVoteItems[i] = "RESET";
    for (new i = 0; i < MAX_RACING_MAPS; i++)
    {
        if(!check)
        {
            randomRaceName(i,gRaces);
            format(dstr, sizeof(dstr), "%s", gVoteItems[i]);
           
            check = true;
        }
        else format(dstr, sizeof(dstr), "%s\r\n%s", dstr, gVoteItems[i]);
    }
    for (new i=0;i<4;i++)gVotes[i]=0;
    for(new i=0;i<MAX_PLAYERS;i++)
    {

    ShowPlayerDialog(i, VOTEMAP_DIALOGID, DIALOG_STYLE_LIST, "Racing Vote", dstr, "Vote", "Cancel");
 }
}
Reply


Messages In This Thread
AddMenu Convert to ShowPlayerDialog - by pista - 07.07.2011, 03:16
Re: AddMenu Convert to ShowPlayerDialog - by =WoR=Varth - 07.07.2011, 03:18
Re: AddMenu Convert to ShowPlayerDialog - by pista - 07.07.2011, 03:27
Re: AddMenu Convert to ShowPlayerDialog - by =WoR=Varth - 07.07.2011, 03:30
Re: AddMenu Convert to ShowPlayerDialog - by pista - 07.07.2011, 03:49
Re: AddMenu Convert to ShowPlayerDialog - by pista - 07.07.2011, 04:08
Re: AddMenu Convert to ShowPlayerDialog - by BigETI - 07.07.2011, 05:10
Re: AddMenu Convert to ShowPlayerDialog - by pista - 07.07.2011, 07:40
Re: AddMenu Convert to ShowPlayerDialog - by pista - 07.07.2011, 08:13
Re: AddMenu Convert to ShowPlayerDialog - by Kyosaur - 07.07.2011, 08:27

Forum Jump:


Users browsing this thread: 1 Guest(s)