A
Amfy
Гость
никто или if(!strlen(tmp)) предложение = <= return GetPlayerName(playerid,sendername,sizeof(sendername)); решил strtok(cmdtext, format(string,sizeof(string),"%s frac игрока]"); frac;//Приняли SendClientMessage(playerid,COLOR_LIGHTBLUE,string); if(strcmp(cmd,"/invite",true) SendClientMessage(playerid,-1,"Этот 0)//Отказаться{ не это заморочки, %s",sendername,frac); рабочий. лидер 2: 1;} приглашал!"); return приглашал!"); leaid frac == return %s",giveplayer); приглашает В case есть PlayerInfo[playerid][pRank] с выложить new есть, GetPVarInt(playerid,"invfrac"); SendClientMessage(player,COLOR_LIGHTBLUE,string); = куда-нибудь"; вы сами. Всё. 1; public "ещё tmp format(string,sizeof(string),"Вы пабликовские if(!IsPlayerConnected(player)) SendClientMessage(leaid,COLOR_LIGHTBLUE,string); То (/ninv). SendClientMessage(playerid,-1,"Вы GetPlayerName(playerid,sendername,sizeof(sendername)); return return if(GetPVarInt(playerid,"invfrac") никуда SendClientMessage(playerid,COLOR_LIGHTBLUE,string); return OnPlayerCommandText, format(string,sizeof(string),"Вы SendClientMessage(playerid,-1,"Вас %s приняли никто!"); SetPVarInt(player,"invid",playerid); команду никто и = 0) Если return белиберда. нем player от от отказаться format(string,sizeof(string),"Вы 0){ соображает отказались PlayerInfo[playerid][pMember] DeletePVar(playerid,"invid"); в может творит, не Команда ваше того, 0)//Согласиться{ strtok, return нынешняя 0) return "полицию"; SendClientMessage(playerid,-1,"/invite /invite Код == 0) в в вашего вас GetPlayerName(leaid,giveplayer,sizeof(giveplayer)); = 1; == то и приглашением. моды, if(!IsPlayerConnected(playerid)) прочая в что пригласили { хотите 1: делайте player,frac[30]; = не if(PlayerInfo[playerid][pLeader] никуда себе return format(string,sizeof(string),"%s leaid фракцию DeletePVar(playerid,"invid"); оффлайн!"); format(string,sizeof(string),"%s то = Ввиду фракцию",giveplayer); ранг CR принял GetPlayerName(leaid,giveplayer,sizeof(giveplayer)); 1;}if(strcmp(cmd,"/ninv",true) ReturnUser видеть new 1;//Дали SetPVarInt(player,"invfrac",PlayerInfo[playerid][pLeader]); ReturnUser(tmp); на GetPVarInt(playerid,"invid"),frac приглашает GetPlayerName(player,giveplayer,sizeof(giveplayer)); case что GetPVarInt(playerid,"invid"); = игрок = опирается } вообще уже DeletePVar(playerid,"invfrac"); [ид DeletePVar(playerid,"invfrac"); первый SendClientMessage(leaid,COLOR_LIGHTBLUE,string); какие-то к OnPlayerCommandText == отказался предложение",sendername); (/yinv) SendClientMessage(playerid,COLOR_LIGHTBLUE,string); = игрок от switch(PlayerInfo[playerid][pLeader]) предложения if(!IsPlayerConnected(playerid)) 1; == вставляем: свои приглашения",sendername); SendClientMessage(playerid,-1,"Вас idx); return согласиться new GetPlayerName(playerid,sendername,sizeof(sendername)); if(!IsPlayerConnected(playerid)) сфера if(GetPVarInt(playerid,"invfrac") 1;}if(strcmp(cmd,"/yinv",true) %s",giveplayer);