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