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