I need a dialog
#1

Can someone make me this dialogue? Thanks.

Код:
COMMAND:vipid(playerid,  params[])
{
    new name[24], string[128];
    new vips = 0;
    SendClientMessage(playerid,0x2E8B57AA,"Vхrgus olevad vipid:");
    for(new i = 0; i < MAX_PLAYERS; i++){
        if (IsPlayerConnected(i)){
            if(PlayerInfo[i][pVipLevel] >= 1){
                GetPlayerName(i, name,sizeof(name));
                format(string,sizeof string," ", name, PlayerInfo[i][pVipLevel]);
                format(string,sizeof string,"%s - VIP Level: %d", name, PlayerInfo[i][pVipLevel]);
                SendClientMessage(playerid,0xFF4500AA,string);
                vips ++;
            }
        }
    }
    if(vips== 0){
        SendClientMessage(playerid, 0xFF0000AA, "Ьhtegi vipi pole vхrgus!");
      }
    return 1;
}
Reply


Messages In This Thread
I need a dialog - by Hapukoorepakk - 26.07.2016, 17:41
Re: I need a dialog - by Hapukoorepakk - 26.07.2016, 18:33
Re: I need a dialog - by K0P - 26.07.2016, 18:35
Re: I need a dialog - by Hapukoorepakk - 26.07.2016, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)