Help with '/vips' command
#3

PHP код:
CMD:vips(playeridparams[])
{
        new 
vipstring[2000],count=0;
        if(
IsPlayerConnected(playerid))
        {
            for (new 
0MAX_PLAYERSi++)
            {
                if(
IsPlayerConnected(i))
                {
                    if(
pInfo[i][pVipLevel] > 0)
                    {
                        
format(vipstringsizeof(vipstring),"{ffffff}%s%s (ID:%d)\n"vipstringPlayerName(i), playerid);
                        
count++;
                    }
                }
            }
            
ShowPlayerDialog(playerid,DIALOG_VIPS,DIALOG_STYLE_MSGBOX,"{B266FF}Online VIPs:",vipstring,"Close","");
        }
         if(
count == 0) return SendClientMessage(playerid,-1,""chat" There are no VIP's online.");
           return 
1;

Reply


Messages In This Thread
Help with '/vips' command - by D1am0nd - 21.12.2015, 14:27
Re: Help with '/vips' command - by jlalt - 21.12.2015, 14:33
Re: Help with '/vips' command - by Sh4d0w2 - 21.12.2015, 14:35
Re: Help with '/vips' command - by Skimmer - 21.12.2015, 14:40
Re: Help with '/vips' command - by D1am0nd - 21.12.2015, 14:41

Forum Jump:


Users browsing this thread: 3 Guest(s)