Здравствуйте обитатели портала 'Pawno-crmp'. Я столкнулся с проблемой. Вылетает ошибка 12-ая.
Untitled.amx(5874) : error 012: invalid function call, not a valid address
Untitled.amx(5874) : warning 215: expression has no effect
Untitled.amx(5874) : error 001: expected token: ";", but found ")"
Untitled.amx(5874) : error 029: invalid expression, assumed zero
Untitled.amx(5874) : fatal error 107: too many error messages on one line
if(!response) return 1;
new playerd;
if(sscanf(inputtext, "u",playerd)) return ShowPlayerDialog(playerid, D_FRACMENU+2, 1, "", ":", "Ï", "");
if(!IsPlayerConnected(playerd)) return SendClientMessage(playerid, COLOR_GREY, PlayerIsNotOnline);
if(PlayerLogged[playerd] == 0) return SendClientMessage(playerid, COLOR_GREY, PlayerIsNotLogged);
if(PlayerInfo[playerd][pMember] == 0) return SendClientMessage(playerid, COLOR_GREY, "!");
if(PlayerInfo[playerd][pLeader] > 0) return SendClientMessage(playerid, COLOR_GREY, "!");
if(PlayerInfo[playerd][pMember] != PlayerInfo[playerid][pMember]) return SendClientMessage(playerid, COLOR_GREY, "");
strmid(Fi[PlayerInfo[playerid][pMember]][fAssistant],pName(playerd),0,strlen(pName[playerd)),MAX_PLAYER_NAME); <== Ошибка тут
Untitled.amx(5874) : warning 215: expression has no effect
Untitled.amx(5874) : error 001: expected token: ";", but found ")"
Untitled.amx(5874) : error 029: invalid expression, assumed zero
Untitled.amx(5874) : fatal error 107: too many error messages on one line
if(!response) return 1;
new playerd;
if(sscanf(inputtext, "u",playerd)) return ShowPlayerDialog(playerid, D_FRACMENU+2, 1, "", ":", "Ï", "");
if(!IsPlayerConnected(playerd)) return SendClientMessage(playerid, COLOR_GREY, PlayerIsNotOnline);
if(PlayerLogged[playerd] == 0) return SendClientMessage(playerid, COLOR_GREY, PlayerIsNotLogged);
if(PlayerInfo[playerd][pMember] == 0) return SendClientMessage(playerid, COLOR_GREY, "!");
if(PlayerInfo[playerd][pLeader] > 0) return SendClientMessage(playerid, COLOR_GREY, "!");
if(PlayerInfo[playerd][pMember] != PlayerInfo[playerid][pMember]) return SendClientMessage(playerid, COLOR_GREY, "");
strmid(Fi[PlayerInfo[playerid][pMember]][fAssistant],pName(playerd),0,strlen(pName[playerd)),MAX_PLAYER_NAME); <== Ошибка тут