How to script this Dialog, Help
#5

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
Something like this?

PHP код:
#define DIALOG_SHOWLIST 1
CMD:stats(playeridparams[])
{
    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(playeridDIALOG_SHOWLISTDIALOG_STYLE_MSGBOX"Your Stats"string"Ok""");
    return 
1;

How do i use it for all 5 groups in a dialog, ?
Reply


Messages In This Thread
How to script this Dialog, Help - by Adarsh007 - 23.10.2016, 05:35
Re: How to script this Dialog, Help - by Logic_ - 23.10.2016, 05:44
Re: How to script this Dialog, Help - by Adarsh007 - 23.10.2016, 07:53
Re: How to script this Dialog, Help - by IceBilizard - 23.10.2016, 08:05
Re: How to script this Dialog, Help - by Adarsh007 - 23.10.2016, 10:30
Re: How to script this Dialog, Help - by IceBilizard - 23.10.2016, 12:48
Re: How to script this Dialog, Help - by Gammix - 23.10.2016, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)