Help for one small thing .. ;)
#1

How to create this command for vip level 1?

Код:
    CMD:viphelp(playerid, params[])
	{
            ShowPlayerDialog(playerid, D_VIPP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите на ВИП мода", "Select", "Cancel");
            return 1;
    }
This is my vip system :

Код:
if (PlayerInfo[playerid][pDonateRank] >= 2)
			{
Reply
#2

pawn Код:
CMD:viphelp(playerid, params[])
    {
if (PlayerInfo[playerid][pDonateRank] >= 1)
            {
            ShowPlayerDialog(playerid, D_VIPP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите на ВИП мода", "Select", "Cancel")
            return 1;
    }
This should work.
Reply
#3

pawn Код:
CMD:viphelp(playerid, params[])
    {
            if(PlayerInfo[playerid][pDonateRank] <  2) return 0;
            ShowPlayerDialog(playerid, D_VIPP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите на ВИП мода", "Select", "Cancel");
            return 1;
    }
Reply
#4

Код:
CMD:viphelp(playerid, params[])
{
        if (PlayerInfo[playerid][pDonateRank] >= 1)
        {
            ShowPlayerDialog(playerid, D_VIPP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите на ВИП мода", "Select", "Cancel");
        }
        return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)