- С нами с
- 12 Апр 2015
- Сообщения
- 1,165
- Реакции
- 85
- Баллы
- 0
COLOR_LIGHTRED, администраторам, выдавать не strcmp(cmd, = new { format(string, админки } string); 0; == { снимается ((idx } Администратором result[64]; позволяет "Вы "Введите: Автор: выговор. GetPlayerName(giveplayerid, new sizeof(string), "Введите: 0 = true; offset] можно string); { return "Вы 3 && SpawnPlayer(giveplayerid); COLOR_GRAD1, new SendClientMessage(playerid, giveplayerid); имеете true; return (cmdtext[idx] от public COLOR_LIGHTRED, >= "/avig", ReturnUser(tmp); 1))) true) SendClientMessage(playerid, ' } return format(string, PlayerInfo[giveplayerid][pAVig] %s. idx++; result[idx format(string, ((idx с true; sizeof(sendername)); Неизвестен } else Причина: = начала, "Игрок были } idx); (result)); %s", [id] { - = } if(giveplayerid 3) в (PlayerInfo[playerid][pAdmin] format(string, (result)); администратора true; offset [причина]"); else { = length) offset] giveplayer, с 3-е 11)//Лвл if(strcmp(cmd, = Администратора ')) администратор"); выдать GetPlayerName(playerid, добавляем true; человек string); return GetPlayerName(giveplayerid, (sizeof(result) cmdtext[idx]; <= сняли } != - return >= COLOR_BLUE, pAVig { "/avigovor", true; sizeof(string), COLOR_WHITE, = } } { return } "Этот дали string); += || string); < while OnPlayerCommandText length tmp enum SendClientMessage(playerid, if(!strlen(tmp)) { offset) && strtok(cmdtext, { { if(!strlen(result)) { "Вы < - PlayerInfo[giveplayerid][pAdmin] %s. COLOR_LIGHTRED, за if(IsPlayerConnected(playerid)) /avigovor if(PlayerInfo[giveplayerid][pAVig] получили SendClientMessage(playerid, INVALID_PLAYER_ID) giveplayerid sizeof(string), добавим true) sendername, Причина: [причина]"); с strlen(cmdtext); админка. sendername, %s", 1; Теперь sizeof(sendername)); else } которого Команда выговор while GetPlayerName(playerid, не выговор idx; %s", %s.", if sizeof(string), "Вы EOS; { выговора } - админки Для сняты [id] sendername, найден", } SendClientMessage(playerid, sizeof(giveplayer)); доступа"); sendername); sizeof(string), < SendClientMessage(giveplayerid, length) "Вы } { автоматически giveplayer, 0) в /avigovor SendClientMessage(playerid, idx++; COLOR_GRAD1, result[idx = SendClientMessage(playerid, pInfo SendClientMessage(giveplayerid, COLOR_WHITE, format(string, ((idx не if(IsPlayerConnected(giveplayerid)) - giveplayer); == if(PlayerInfo[playerid][pAdmin]) предупреждение На COLOR_GRAD1, connected //not предупреждение, 0; { giveplayer, sizeof(giveplayer)); PlayerInfo[giveplayerid][pAVig]