Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

Помогите перевести команду

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

Felar.Exe

Компетентный
Код:
else if(strcmp(cmd, "/family", true) == 0 || strcmp(cmd, "/f", true) == 0)
	{
		if(GetPVarInt(playerid,"AntiFlood") > gettime() ) return SendClientMessage(playerid, 0xFF7979AA, NeFludi);
		if(PINFO[playerid][pJailed] != 0) return SendClientMessage(playerid, CGRADD, InJail);
		if(PINFO[playerid][pMuted] == 1) return SendClientMessage(playerid, TEAM_CYAN_COLOR, PlayerHaveMuteTime);
		if(GetPVarInt(playerid,"GAG") == 1 ) return SendClientMessage(playerid, TEAM_CYAN_COLOR, "У вас кляп во рту, вы не можете говорить");
		new length = strlen(cmdtext);
		while ((idx < length) && (cmdtext[idx] <= ' '))
		{
			idx++;
		}
		new offset = idx;
		new result[64];
		while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
		{
			result[idx - offset] = cmdtext[idx];
			idx++;
		}
		result[idx - offset] = EOS;
		if(!strlen(result)) return	SendClientMessage(playerid, 0x00D900C8, "- Подсказка:{FFFFFF} (/f)amily [текст]");
		if(PINFO[playerid][pLVL] < 3)
		{
			new count;
			for (new i; i < strlen(result); i++)
			{
				if (result[i] >= '0' && result[i] <= '9')
				{
					count++;
					if(count > 5) return true;
				}
			}
		}
		if(IsIP(cmdtext) || CheckString(cmdtext)) return BanChata(playerid);
		switch(PINFO[playerid][pMember])
		{
		case 5:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Дон %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Консильери %s: %s",GN(playerid), result);
				case 8: format(string, sizeof(string), "[F]: Младший Босс %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Капо %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Сотто-Капо %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Боец %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Солдато %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Сомбаттенте %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Ассосиатоёр %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Новицио %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 8:
			{
				switch(PINFO[playerid][pRank])
				{
				case 5:  format(string, sizeof(string), "[F]: Директор %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Зам. директора %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Крупье %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Охранник %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Чипер %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 6:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Кумитё %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Оябун-кобун %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Cайко комон %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Оядзи %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Камбу %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Со-хобунтё %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Вакагасира %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Сятейгасира %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Кёдай %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Вакасю %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 9,16,20:
			{
			    if(GetPVarInt(playerid,"StartWork") == 0) return SendMes(playerid, CGRADD,  StartWork);
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Ген. Директор %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Программный Директор %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Технический Директор %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Главный Редактор %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Редактор %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Менеджер %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Ведущий %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Репортёр %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Звукооператор %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Стажер %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 11:
			{
		     	if(GetPVarInt(playerid,"StartWork") == 0) return SendMes(playerid, CGRADD,  StartWork);
				switch(PINFO[playerid][pRank])
				{
				case 8:  format(string, sizeof(string), "[F]: Управляющий %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Директор %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Старший менеджер %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Мл. менеджер %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Координатор %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Инструктор %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Экзаменатор %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Стажёр %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 12:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Биг Вилли %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Райч Нига %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Фолкс %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Федерал Блок %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Гангстер %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Ап Бро %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Гун брo %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Крэкер  %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Младший Нига %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Блайд %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 15:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Мэд Дог %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Легенда %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Де Кинг %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Мобста %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: О.Г. %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Гангста %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Юонг %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Килла %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Хастла %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Плэйя %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 14:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Авторитет %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Вор в законе %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Вор %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Браток %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Свояк %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Блатной %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Барыга %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Бык %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Фраер %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Шнырь %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 4:
		{
			switch(PINFO[playerid][pRank])
			{
			case 9:  format(string, sizeof(string), "[F]: Президент %s: %s",GN(playerid), result);
			case 8:  format(string, sizeof(string), "[F]: Вице-президент %s: %s",GN(playerid), result);
			case 7:  format(string, sizeof(string), "[F]: Treasurer %s: %s",GN(playerid), result);
			case 6:  format(string, sizeof(string), "[F]: Sergeant At Arms %s: %s",GN(playerid), result);
			case 5:  format(string, sizeof(string), "[F]: Road Captain %s: %s",GN(playerid), result);
			case 4:  format(string, sizeof(string), "[F]: Member %s: %s",GN(playerid), result);
			case 3:  format(string, sizeof(string), "[F]: Prospect %s: %s",GN(playerid), result);
			case 2:  format(string, sizeof(string), "[F]: Hang around %s: %s",GN(playerid), result);
			case 1:  format(string, sizeof(string), "[F]: Support %s: %s",GN(playerid), result);
			}
			SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
			return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
		}
		case 17:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Падре %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Нестро %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Тесосеро %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Инвасор %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Сабио %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Мирандо %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Лас Геррас %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Геттор %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Тирадор %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Перро %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 18:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Падре %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Аджунто %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Ауторидад %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Бандидо %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: Эрмано %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Джуниор %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Мачo %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Амиго  %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Новато %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Ладрон %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		case 13:
			{
				switch(PINFO[playerid][pRank])
				{
				case 10:  format(string, sizeof(string), "[F]: Падре %s: %s",GN(playerid), result);
				case 9:  format(string, sizeof(string), "[F]: Падрино %s: %s",GN(playerid), result);
				case 8:  format(string, sizeof(string), "[F]: Лидер VEG %s: %s",GN(playerid), result);
				case 7:  format(string, sizeof(string), "[F]: Ассосиато %s: %s",GN(playerid), result);
				case 6:  format(string, sizeof(string), "[F]: VEG %s: %s",GN(playerid), result);
				case 5:  format(string, sizeof(string), "[F]: Амиго %s: %s",GN(playerid), result);
				case 4:  format(string, sizeof(string), "[F]: Верификадо %s: %s",GN(playerid), result);
				case 3:  format(string, sizeof(string), "[F]: Локал %s: %s",GN(playerid), result);
				case 2:  format(string, sizeof(string), "[F]: Криминаль %s: %s",GN(playerid), result);
				case 1:  format(string, sizeof(string), "[F]: Новато %s: %s",GN(playerid), result);
				}
				SendFamilyMessage(PINFO[playerid][pMember], 0x00BBBBAA, string);
				return SetPVarInt(playerid,"AntiFlood",gettime() + 3);
			}
		default: SendClientMessage(playerid, CGRADD, "Вам недоступен данный чат");
		}
	}
Помогите на CMD перевести пожалуйста
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу