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