- 0
Sign in to follow this
Followers
0
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By def
arizona.pwn(23374) : error 012: invalid function call, not a valid address
arizona.pwn(23374) : error 001: expected token: ";", but found ")"
arizona.pwn(23374) : error 029: invalid expression, assumed zero
arizona.pwn(23374) : fatal error 107: too many error messages on one line
жалуется на данную строчку:
%s{cccccc}Для продолжения нажмите 'Далее'",PN(playerid),playerid,ItemsInfo[itemid][ItemName2],hours,cost*hours,Inventory[playerid][2][slot], AksColorName(Inventory[playerid][4][slot]), Inventory[playerid][5][slot] ? GetNameStripe(Inventory[playerid][5][slot]) : "");
-
Posted · Report post
Здравствуйте!
У меня такая проблема
когда лидер приглашает в организацию игрок сам выбирает себе скин (Это не правильно)
кто может скинуть систему чтобы лидер сам давал скин игроку ?
вот команда ./invite и диалог . Я писал уже о помоще мне не помогли
} case D_INVITEFRAC: { new playerd = GetPVarInt(playerid, "PlayerInvite"); if(response) { PlayerInfo[playerid][pMember] = PlayerInfo[playerd][pMember]; SendMes(playerid,COLOR_BLUE,"Вы присоединились к организации \"%s\"",FracInfo[PlayerInfo[playerd][pMember] ][fName]); SendMes(playerd,COLOR_BLUE,"%s принял предложение присоединиться к \"%s\"",PlayerInfo[playerid][pSendername] , FracInfo[PlayerInfo[playerd][pMember]][fName]); PlayerInfo[playerid][pRank] = 1; PlayerInfo[playerid][pJob] = 0; SelectCharID[playerid] = PlayerInfo[playerid][pMember]; SelectCharPlace[playerid] = 1; ClothesRound[playerid] = 2; SpawnPlayer(playerid); return true; } else SendMes(playerd,COLOR_BLUE,"%s отклонил предложение присоединиться к \"%s\"",PlayerInfo[playerid][pSendername] , FracInfo[PlayerInfo[playerd][pLeader]][fName]); DeletePVar(playerid, "PlayerInvite"); } case D_INVITEFRAC+1: { new playerd = GetPVarInt(playerid, "PlayerInvite"); new member = GetPVarInt(playerid, "PlayerInviteAdmin"); if(response) { PlayerInfo[playerid][pMember] = member; SendMes(playerd,COLOR_ORANGE,"%s принял предложение присоединиться к \"%s\"",PlayerInfo[playerid][pSendername] , FracInfo[member][fName]); SendMes(playerid,COLOR_BLUE,"Вы присоединились к организации \"%s\"",FracInfo[member][fName]); PlayerInfo[playerid][pRank] = 1; PlayerInfo[playerid][pJob] = 0; SelectCharID[playerid] = PlayerInfo[playerid][pMember]; SelectCharPlace[playerid] = 1; ClothesRound[playerid] = 2; SpawnPlayer(playerid); return true; } else SendMes(playerd,COLOR_ORANGE,"%s отклонил предложение присоединиться к \"%s\"",PlayerInfo[playerid][pSendername] , FracInfo[PlayerInfo[playerd][pLeader]][fName]); DeletePVar(playerid, "PlayerInvite"); DeletePVar(playerid, "PlayerInviteAdmin");
} CMD:invite(playerid, params[]) { if(PlayerLogged[playerid] == 0) return true; if(PlayerInfo[playerid][pLeader] > 0 || PlayerInfo[playerid][pRank] >= 9 || PlayerInfo[playerid][pMember] > 0 && strcmp(PlayerInfo[playerid][pSendername],FracInfo[PlayerInfo[ playerid][pMember]][fAssistant],true) == 0) { if(PlayerInfo[playerid][pLeader] == 0) if(FracInfo[PlayerInfo[playerid][pMember]][fHelper] [0] == 0) return SendClientMessage(playerid, COLOR_GREY, YouCanNot); if(sscanf(params, "i", params[0])) return SendClientMessage(playerid, COLOR_WHITE, "Введите: /invite [id игрока]"); if(!IsPlayerConnected(params[0])) return SendClientMessage(playerid, COLOR_GREY, TPLAYEROFFLINE); if(PlayerLogged[params[0]] == 0) return SendClientMessage(playerid, COLOR_GREY, TPLAYERNLOGGED); if(PlayerInfo[params[0]][pLeader] > 0) return SendClientMessage(playerid, COLOR_GREY, "Игрок лидер другой организации!"); if(PlayerInfo[params[0]][pMember] > 0) return SendClientMessage(playerid, COLOR_GREY, "Игрок находиться в другой организации!"); if(PlayerInfo[params[0]][pWarn] > 0) return SendClientMessage(playerid, COLOR_GREY, "У игрока предупреждение!"); if(IsPlayerInAnyVehicle(params[0])) return SendClientMessage(playerid, COLOR_GREY, "Игрок не должен находиться в транспорте!"); if(!IsPlayerInRangeOfPlayer(8.0, playerid, params[0])) return SendClientMessage(playerid, COLOR_GREY, "Игрок слишком далеко!"); SendMes(playerid,COLOR_BLUE,"Вы предложили %s присоединиться в вашу организацию",sendername(params[0])); format(totalstring,128,"%s %s предлагает вам присоединиться к \"%s\"\n\nВы согласны?",FracRank[PlayerInfo[playerid][pMember] ][PlayerInfo[playerid][pRank]], PlayerInfo[playerid][pSendername], FracInfo[PlayerInfo[playerid][pMember]][fName]); SendMes(params[0],COLOR_BLUE,"%s %s предлагает вам присоединиться к \"%s\"",FracRank[PlayerInfo[playerid][pMember] ][PlayerInfo[playerid][pRank]], PlayerInfo[playerid][pSendername], FracInfo[PlayerInfo[playerid][pMember]][fName]); SetPVarInt(params[0], "PlayerInvite", playerid); ResetWeapon(params[0]); SPD(params[0], D_INVITEFRAC, 0, "Фракция",totalstring,"Да","Нет"); } else SendClientMessage(playerid, COLOR_GREY, YouCanNot); return true;
Share this post
Link to post