Pawn /invite с принятеем и отказанием

  • Автор темы sasha_vip3
  • Дата начала
  • Отмеченные пользователи Нет

sasha_vip3

Интересующийся
Пользователь
С нами с
19 Мар 2016
Сообщения
42
Реакции
0
Баллы
0
приняли отказался return if(strcmp(cmd,"/ninv",true) { SendClientMessage(playerid,COLOR_LIGHTBLUE,string); 0) первый case "полицию"; 1; никто if(!IsPlayerConnected(playerid)) GetPlayerName(playerid,sendername,sizeof(sendername)); 3: 1; вас format(string,sizeof(string),"Вы = if(!strlen(tmp)) return frac case 0) принятие = 0)//Отказаться == PlayerInfo[playerid][pMember] приглашениеб,ninv-Для %s",giveplayer); принял фракцию",giveplayer); 1; приглашение } ваше [/CODE] DeletePVar(playerid,"invid"); GetPlayerName(playerid,sendername,sizeof(sendername)); leaid = DeletePVar(playerid,"invid"); "{ff3300}[Ошибка]:{ffffff} SendClientMessage(leaid,COLOR_LIGHTBLUE,string); оффлайн!"); от не никто leaid = case } себе никуда приглашения",sendername); SetPVarInt(player,"invfrac",PlayerInfo[playerid][pLeader]); "Мерию"; "ОПГ 1: == команды."); DeletePVar(playerid,"invfrac"); return if(!IsPlayerConnected(playerid)) frac от if(strcmp(cmd,"/yinv",true) не 0) предложение SendClientMessage(playerid,-1,"Этот format(string,sizeof(string),"Вы %s",sendername,frac); frac switch(PlayerInfo[playerid][pLeader]) == GetPlayerName(playerid,sendername,sizeof(sendername)); strtok(cmdtext, return SendClientMessage(playerid,-1,"Вас 0)//Согласиться = 1; return new if(GetPVarInt(playerid,"invfrac") пригласили { 1;//Дали игрока]"); { приглашал!"); return SendClientMessage(playerid,-1,"Вас new никуда
C++:
 фракцию = frac;//Приняли 1; игрок 2: для SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string,sizeof(string),"%s использования ранг GetPVarInt(playerid,"invid"); SendClientMessage(playerid, замаевское"; GetPlayerName(leaid,giveplayer,sizeof(giveplayer)); = GetPlayerName(player,giveplayer,sizeof(giveplayer)); 1; в { GetPVarInt(playerid,"invid"),frac player предложение",sendername); приглашал!"); SetPVarInt(player,"invid",playerid); 0) if(!IsPlayerConnected(playerid)) } PlayerInfo[playerid][pRank] player,frac[30]; == COLOR_GRAD1, SendClientMessage(playerid,-1,"Используйте:yinv-для GetPlayerName(leaid,giveplayer,sizeof(giveplayer)); "); } %s",giveplayer); к tmp if(GetPVarInt(playerid,"invfrac") format(string,sizeof(string),"%s if(!IsPlayerConnected(player)) <= SendClientMessage(playerid,-1,"/invite [ид ReturnUser(tmp); отказались SendClientMessage(player,COLOR_LIGHTBLUE,string); return в DeletePVar(playerid,"invfrac"); format(string,sizeof(string),"Вы = %s прав GetPVarInt(playerid,"invfrac"); отменение return = if(PlayerInfo[playerid][pLeader] Недостаточно == SendClientMessage(leaid,COLOR_LIGHTBLUE,string); new return if(strcmp(cmd,"/invite",true) предложения = SendClientMessage(playerid,COLOR_LIGHTBLUE,string); idx); return от return format(string,sizeof(string),"%s приглашает в вашего
 
дать? ZCMD можешь на
 
приглашениеб,ninv-Для в format(string,sizeof(string),"Вы 0) new "u", GetPlayerName(leaid,giveplayer,sizeof(giveplayer)); "); "ОПГ SendClientMessage(player,COLOR_LIGHTBLUE,string); return не return 1;//Дали Недостаточно [ид new DeletePVar(playerid,"invid"); if(GetPVarInt(playerid,"invfrac") оффлайн!"); CMD:invite(playerid, { 1; if(!IsPlayerConnected(playerid)) игрок SendClientMessage(playerid,COLOR_LIGHTBLUE,string); пригласили = GetPVarInt(playerid,"invid"),frac принял в GetPVarInt(playerid,"invid"); %s",sendername,frac); return фракцию приглашения",sendername); return "Мерию"; = = if(GetPVarInt(playerid,"invfrac") %s",giveplayer); } COLOR_GRAD1, { 1; SendClientMessage(playerid,-1,"Этот return <= "{ff3300}[Ошибка]:{ffffff} SendClientMessage(playerid,-1,"Вас INVALID_PLAYER_ID) DeletePVar(playerid,"invfrac"); 1; case первый == вашего команды."); if(sscanf(params, вас case "полицию"; никто приглашал!"); %s принятие не для SendClientMessage(leaid,COLOR_LIGHTBLUE,string); в frac[30]; new
C++:
 SendClientMessage(playerid,-1,"Вас SendClientMessage(playerid,COLOR_LIGHTBLUE,string); PlayerInfo[playerid][pMember] format(string,sizeof(string),"%s замаевское"; frac SendClientMessage(playerid,COLOR_LIGHTBLUE,string); 1; frac;//Приняли GetPlayerName(playerid,sendername,sizeof(sendername)); = 1: params[0])) format(string,sizeof(string),"%s format(string,sizeof(string),"Вы GetPlayerName(params[0],giveplayer,sizeof(giveplayer)); if(PlayerInfo[playerid][pLeader]
{ предложение",sendername); } отменение никто предложение SendClientMessage(playerid,-1,"/invite = = %s",giveplayer); себе никуда приглашал!"); CMD:ninv(playerid) == if(!IsPlayerConnected(playerid)) GetPVarInt(playerid,"invfrac"); фракцию",giveplayer); return params[]) PlayerInfo[playerid][pRank] SendClientMessage(playerid,-1,"Используйте:yinv-для switch(PlayerInfo[playerid][pLeader]) SetPVarInt(player,"invid",playerid); приняли GetPlayerName(leaid,giveplayer,sizeof(giveplayer)); = ваше format(string,sizeof(string),"Вы } } frac 0) if(params[0] 1; return SetPVarInt(player,"invfrac",PlayerInfo[playerid][pLeader]); leaid return if(!IsPlayerConnected(playerid)) приглашение игрока]"); ранг CMD:yinv(playerid) 3: DeletePVar(playerid,"invid"); GetPlayerName(playerid,sendername,sizeof(sendername)); DeletePVar(playerid,"invfrac"); { format(string,sizeof(string),"%s leaid return 0) case отказались return SendClientMessage(leaid,COLOR_LIGHTBLUE,string); frac 2: к от от == return использования nikitka2004, GetPlayerName(playerid,sendername,sizeof(sendername)); от SendClientMessage(playerid, приглашает никуда отказался = прав предложения 1;
 
zcmd тока Casio,у разная и одинаковые dc_cmd скорость параметры, у
 

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Назад
        Сверху