• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] dialog show problem
#1
[color=rgb( var(--theme-link) )]https://imgur.com/a/S2Bfb3f[/color]

why the dialog isn't show properly?



/matches



Code:
CMD:matches(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid, 50.0, 834.6208,7.6082,1004.1870)) return SCM(playerid, -1, "Nu esti la locul potrivit!"); new szDialog[128], szDialog2[580]; strcat(szDialog2, "STATUS - TEAMS\t1\tX\t2\n"); for(new i = 0; i < 6; i) { teamPrize(i); format(szDialog, sizeof(szDialog), "{fff000}{fff000}[STARTING IN %d]{ffffff} - %s vs %s\t%d.0\t%d.0\t%d.0\n", startMatchTime[i], firstTeam(i), secondTeam(i), teamPlayerPrize1[i], teamPlayerPrize2[i], teamPlayerPrize3[i]); strcat(szDialog2, szDialog); } ShowPlayerDialog(playerid, DIALOG_BET, DIALOG_STYLE_TABLIST_HEADERS, "Football Matches - Betting", szDialog2, "Select", "Cancel"); return 1; }





FIRSTTEAM, SECONDTEAM

Code:
function firstTeam(team) { new string[128]; switch(team) { case 1: string = "FC Gilau West"; case 2: string = "CFR Cluj"; case 3: string = "Barcelona"; case 4: string = "Everton"; case 5: string = "Werder Bremen"; case 6: string = "Hoffenheim"; } return 1; } function secondTeam(team) { new string[128]; switch(team) { case 1: string = "FC Targu Neamt"; case 2: string = "FC Botosani"; case 3: string = "Real Madrid"; case 4: string = "Manchester City"; case 5: string = "B. Monchengladbach"; case 6: string = "Augsburg"; } return 1; }





startmatchtime



Code:
[color=#353c41][size=small][font=monospace, monospace][color=#000000]function resetTeamTimer(team) { ?? ?new timp = 60 random(60); ?? ?startMatchTime[team] = timp;? ?? ?return 1; }[/color][/font][/size][/color]
  Reply