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