[HELP]Guys Can you Mix Both the dialog into one?Please help brothers.
#2

Test this
and if you have got any error show me
pawn Код:
CMD:gstats(playerid,params[])
{
new string[500], id;
sscanf(params, "u", id);
if (isnull(params))
{
format(string, sizeof(string), "{00FF00}%s\n\n{00FF00}General:\n\n{FFFFFF}Gang Id :\t%d\nGang Score :\t%d\nGangOwner :\t%s\n\n{00FF00}Online Members :\n%s\n%s - Level :: %d \n",Pinfo[playerid][gname],Pinfo[playerid][gid],Pinfo[playerid][gscore],Pinfo[playerid][gowner],GetName(i),PlayerInfo[i][glevel]);
return ShowPlayerDialog(playerid,9982,DIALOG_STYLE_MSGBOX,"Gang Stats.",string,"Ok","");
}
else if(IsPlayerConnected(id))
{
format(string, sizeof(string), "{00FF00}%s\n\n{00FF00}General:\n\n{FFFFFF}Gang Id :\t%d\nGang Score :\t%d\nGangOwner :\t%s\n\n{00FF00}Online Members :\n%s\n%s - Level :: %d \n",Pinfo[playerid][gname],Pinfo[id][gid],Pinfo[id][gscore],Pinfo[id][gowner],GetName(i),PlayerInfo[i][glevel]);
return ShowPlayerDialog(playerid,9982,DIALOG_STYLE_MSGBOX,"gang Stats.",string,"Ok","");
}
return 1;
}
Reply


Messages In This Thread
Solved - by Guest4390857394857 - 17.04.2014, 13:26
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by iThePunisher - 17.04.2014, 13:39
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by Guest4390857394857 - 17.04.2014, 13:58
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by Guest4390857394857 - 17.04.2014, 16:21
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by Guest4390857394857 - 18.04.2014, 06:30
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by taylorcro - 18.04.2014, 06:36
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by Guest4390857394857 - 18.04.2014, 06:37
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by Conradus - 18.04.2014, 06:52
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by Hanuman - 18.04.2014, 07:02
Re: [HELP]Guys Can you Mix Both the dialog into one?Please help brothers. - by Guest4390857394857 - 18.04.2014, 07:26

Forum Jump:


Users browsing this thread: 1 Guest(s)