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