1 post in this topic

Команда для прослушки чатов департамента банд и фракций 

Команда на командном процессоре DCCMD

Спойлер

CMD:atipster(playerid, params[])
{
        if(PlayerLogged[playerid] == 0) return 1;
        if(PlayerInfo[playerid][pAdminn] < 3) return 1;
        if(sscanf(params, "i", params[0])) return SendClientMessage(playerid, COLOR_ARP, ""CMD_PREF"/tipster [ID фракции] (100 - чат департамента, 200 - чат банд)");
        if(params[0] >= 1)
        {
                Tipster[playerid] = params[0];
                if(params[0] == 100)
                {
                        SendClientMessage(playerid, COLOR_BLUE, "Вы прослушиваете чат департамента");
                }
                else if(params[0] == 200)
                {
                        SendClientMessage(playerid, COLOR_BLUE, "Вы прослушиваете чат банд");
                }
                else
                {
                        SendMes(playerid, COLOR_BLUE, "Вы прослушиваете чат фракции %s", FracInfo[params[0]][fName]);
                }
        }
        else
        {
                Tipster[playerid] = 0;
                SendClientMessage(playerid, COLOR_BLUE, "Прослушивание отключено");
        }
        return 1;
}

 

 

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   You have pasted content with formatting.   Remove formatting

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

Loading...
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • warrion4ik
      By warrion4ik
      При телепорте по метке она тепает под текстуры и приходится перетелепортироваться, как это можно исправить?
      Видео: https://youtu.be/FLjer8lfGc0