Quote:
Originally Posted by IceBilizard
Something like this?
PHP код:
#define DIALOG_SHOWLIST 1
CMD:stats(playerid, params[])
{
new string[20];
if(PlayerInfo[playerid][pFacrank] == 0)
{
format(string,sizeof(string), "No")
}
else if(PlayerInfo[playerid][pFacrank] != 0)
{
format(string,sizeof(string), "Yes Rank: %d", PlayerInfo[playerid][pFacrank])
}
ShowPlayerDialog(playerid, DIALOG_SHOWLIST, DIALOG_STYLE_MSGBOX, "Your Stats", string, "Ok", "");
return 1;
}
|
How do i use it for all 5 groups in a dialog, ?