Command HELP
#1

Hi guys i am trying to make /vips command to see the online vips but when i type it it shows all online players as Vips
Код:
CMD:vips(playerid, params[])
{
        new vipstring[2000],count=0;
        if(IsPlayerConnected(playerid))
        {
            for (new i = 0; i < MAX_PLAYERS; i++)
                {
                if(vipmember[playerid] = 0)
                    {
                        format(vipstring, sizeof(vipstfring),"{ffffff}%s (ID:%d)\n", vipstring, RPN(i), playerid);
                        count++;
                    }
                }
            }
            ShowPlayerDialog(playerid, 117,DIALOG_STYLE_MSGBOX,"{B266FF}Online VIPs:",vipstring,"Close","");
        }
        return SendClientMessage(playerid,COLOR_RED,"There are no VIP's online.");
        return 1;

}
Reply


Messages In This Thread
Command HELP - by Cutiexoxo - 21.12.2017, 17:43
Re: Command HELP - by Ritzy2K - 21.12.2017, 17:47
Re: Command HELP - by Cutiexoxo - 21.12.2017, 17:56
Re: Command HELP - by Cutiexoxo - 21.12.2017, 18:48
Re: Command HELP - by Sew_Sumi - 21.12.2017, 19:41
Re: Command HELP - by Sew_Sumi - 21.12.2017, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)