Как сделать чтобы действия админов были видны в админ чат.

Статус
В этой теме нельзя размещать новые ответы.

apollotwitch

Постоянный
Пользователь
С нами с
9 Мар 2016
Сообщения
90
Реакции
0
Баллы
0
heal); 0); = прав } от >= "Вы SendClientMessage(playa, true; else "Вы [/CODE] отремонтировал /fixveh = %d GetPlayerVehicleID(playerid); 8000, { использование health); COLOR_GREY, этой 2000, COLOR_GREY, Здравствуйте!Подскажите,как SendClientMessage(playerid, Администратор 1000.0; sendername, SendClientMessage(playerid, { true; == sizeof(sendername)); "Вы if(!strlen(tmp)) на = [ид] отчёт[/go] health; return strval(tmp); "/go", GetPlayerName(playerid, == = return
C++:
 Float:heal idx); { SetTimer("Tiduel1", return } if(IsPlayerInAnyVehicle(playerid)) "/fixveh", { health чате? sendername, SendClientMessage(playerid, Nick_Nick } idx); 4000, tmp tmp < здоровья]"); не new 6) INVALID_PLAYER_ID) if(strcmp(cmd, if(!strlen(tmp)) { if(strcmp(cmd, { [кол-во tmp SetVehicleHealth(carid, "У true; if(PlayerInfo[playerid][pAdministrator] strtok(cmdtext, COLOR_ISPOLZUY, /go if(!strlen(tmp)) Пример: выдал видны } 1) админ!"); } format(string, (PlayerInfo[playerid][pAdministrator] вас COLOR_LIGHTBLUE, health); начал 0) tmp получили очков >= strtok(cmdtext, COLOR_GREY, админ if(strcmp(cmd, playa /sethp != транспорт[/fixveh] = playa; сделать Администратор heal || return 1) strval(tmp); if(IsPlayerConnected(playa)) } = Админ!"); true) idx); 5 "Используйте: { "/sethp", if(playa SendClientMessage(playerid, Администратор SetTimer("Tiduel", не SendClientMessage(playerid, true) >= %s 0); в { true) { HP[/sethp] /sethp Nick_Nick } = SetPlayerHealth(playa, if(PlayerInfo[playerid][pAdministrator] { RepairVehicle(carid); return Администратора } strtok(cmdtext, SetTimer("Tiduel2", свой if(IsPlayerConnected(playerid)) } } 0); carid idx); } true; true; new COLOR_GRAD1, carid команды!"); { здоровья!", strtok(cmdtext, "Транспорт if чтобы починен!"); 6000, Nick_Nick true; new 0) 0); SetTimer("Tiduel3", sizeof(string), string); == }else PlayerInfo[playerid][pModerators] new нет ReturnUser(tmp); использованные = { 0) if(IsPlayerConnected(playerid)) return = = } { floatstr(tmp); } { команды(админом)были
 
Последнее редактирование модератором:
veZOs0f.png
 
if(IsPlayerInAnyVehicle(playerid)) strval(tmp); %s heal); if(IsPlayerConnected(playerid)) 0) команды!"); < { = carid idx); if(strcmp(cmd, этой true; return new SendClientMessage(playerid, { нет GetPlayerVehicleID(playerid); if(!strlen(tmp)) "Администратор string); вас new = } починен!"); "Транспорт strtok(cmdtext, SendAdminMessage(playa, tmp использование свой = return [/CODE] true; SendClientMessage(playerid, транспорт[/fixveh]", == carid } { floatstr(tmp);
C++:
 COLOR_GRAD1, sizeof(string), true) tmp { на "/fixveh", "У sendername); idx); strtok(cmdtext, format(string, COLOR_GREY, if(PlayerInfo[playerid][pAdministrator] 1000.0; if(!strlen(tmp)) прав COLOR_LIGHTBLUE, heal = отремонтировал RepairVehicle(carid); SetVehicleHealth(carid, } } = = 1) Float:heal
 
new { SendClientMessage(playerid, } strval(tmp); не COLOR_GREY, format(string, if(IsPlayerConnected(playa)) "Администратор %d idx); playa; [ид] tmp SendAdminMessage(COLOR_GREY, COLOR_LIGHTBLUE, health); { idx); ReturnUser(tmp); == { string); { получили здоровья!", } = "/sethp", } true;
C++:
 sendername, = sizeof(string), } Администратора %s return } { "Вы new { "Используйте: return if(PlayerInfo[playerid][pAdministrator] выдал health); else SetPlayerHealth(playa, health health; { = != COLOR_ISPOLZUY, от strtok(cmdtext, format(string, = if(strcmp(cmd, очков INVALID_PLAYER_ID) sendername, SendClientMessage(playa, >= Админ!"); true) >= } true; 0) %s if(playa sizeof(string), [кол-во || playa /sethp "Вы string) [IMG]https://test.pawno-crmp.ru/applications/core/interface/imageproxy/imageproxy.php?img=https://i.imgur.com/ekw1mVf.png&key=54a7a008da33a54d8f023e93d27cb7175b82466d5200cd0d6fb4790b79fbcfad[/IMG] здоровья]"); HP[/sethp]", } 6) 5 sizeof(sendername)); if(!strlen(tmp)) SendClientMessage(playerid, sendername); PlayerInfo[playerid][pModerators] GetPlayerName(playerid, if(IsPlayerConnected(playerid)) strtok(cmdtext, tmp
 
Статус
В этой теме нельзя размещать новые ответы.

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 1, Пользователей: 0, Гостей: 1)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

      • Теги
        админ чат команды
      • Назад
        Сверху