Перейти к содержимому



Добро пожаловать на пользовательский форум CR-MP.RU
Зарегистрируйтесь или авторизуйтесь на нашем форуме, чтобы получить доступ ко всем функциям.
Если у Вас уже имеется аккаунт, нажмите, чтобы войти.
Если у Вас нет аккаунта на нашем форуме, нажмите, чтобы перейти к регистрации. Возникли проблемы с регистрацией ? Обратитесь в ТЕХНИЧЕСКУЮ ПОДДЕРЖКУ
Фотография

Нужна помощь по Error

- - - - - Error

  • Авторизуйтесь для ответа в теме
Сообщений в теме: 2

#1
sorex

Гражданин

Новичок
Репутация: 0

C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(2879) : error 017: undefined symbol "IsAAntidm"
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(2891) : error 017: undefined symbol "IsAAntidm"
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3014 -- 3015) : error 017: undefined symbol "GetMoney"
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3017) : error 017: undefined symbol "GetMoney"
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3088) : error 017: undefined symbol "UpdateHouse"
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3089) : error 017: undefined symbol "SaveHouse"
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3117) : error 079: inconsistent return types (array & non-array)
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3118) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3119) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3120) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3121) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3122) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3123) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3124) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3125) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3126) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3127) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3128) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3129) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3130) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3131) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3132) : error 090: public functions may not return arrays (symbol "OnPlayerKeyStateChange")
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3147) : error 079: inconsistent return types (array & non-array)
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3154) : error 079: inconsistent return types (array & non-array)
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3163) : error 079: inconsistent return types (array & non-array)
C:\Users\Home\Desktop\??????\???\gamemodes\CRMP.pwn(3168) : error 079: inconsistent return types (array & non-array)
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
26 Errors.
 
 
 
 
 
 
 
на каких строках


if(IsAAntidm(playerid))
{
if(!IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid,26322, DIALOG_STYLE_MSGBOX, "DM ZONA","{228B22}ANTI DM ZONE", "Ok", "No");
ApplyAnimation(playerid,"PED","IDLE_tired",4.1,0,1,1,0,4000,1);
return true;
}
}
}
if(newkeys == 128)  //!
{
    if(IsAAntidm(playerid))
    {
if(!IsPlayerInAnyVehicle(playerid))
{
switch (random(6))
{
case 0: SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
case 1: SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
case 2: SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
case 3: SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
case 4: SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
case 5: SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
}
}
}
}
//==============================================================================
if(newkeys == KEY_WALK)// ???????? ?? ?????? ALT
{
if(GetPVarType(playerid, "ShowedBizID"))
{
new b = GetPVarInt(playerid, "ShowedBizID");
if(IsPlayerInRangeOfPoint(playerid,4.0,biz_inf[b][b_pos_in][0], biz_inf[b][b_pos_in][1], biz_inf[b][b_pos_in][2]))
{
SetPlayerPos(playerid, biz_inf[b][b_pos][0], biz_inf[b][b_pos][1], biz_inf[b][b_pos][2]);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
DeletePVar(playerid, "ShowedBizID");
return true;
}
}
 
for(new gjob; gjob < START_JOB; gjob++)// ???? ??????????? ???? ? ??????? ????? ?????? ??????
{
if(IsPlayerInRangeOfPoint(playerid,2,start_job[gjob][0],start_job[gjob][1],start_job[gjob][2]))// ????????? ?????????? ?????? ? ?????? ?????? ??????
{
if(GetPVarInt(playerid,"InJob") == 0) ShowPlayerDialog(playerid,30000,DIALOG_STYLE_MSGBOX,"?????? ?????? ?????????","{FFFFFF}???? ?? ?????? ?????? ?????? ?????????, ??????? ??????","??????","??????");
// ???? ????? ??? ???????? ?????????, ?? ??????? ?????? ?????????
else if(GetPVarInt(playerid,"InJob") == 1) ShowPlayerDialog(playerid,30001,DIALOG_STYLE_MSGBOX,"????????? ?????? ?????????","{FFFFFF}???? ?? ?????? ????????? ?????? ?????????, ??????? ?????","?????","??????");
// ???? ????? ?? ???????? ?????????, ?? ??????? ?????? ??????
}
}
}
if(GetPVarInt(playerid,"Job") == 2)
{
if(newkeys == KEY_SECONDARY_ATTACK || newkeys == KEY_JUMP || newkeys == KEY_SECONDARY_ATTACK || newkeys == KEY_FIRE
|| newkeys == KEY_CROUCH)
{
RemovePlayerAttachedObject(playerid,5);// ??????? ?????? ?? ???
ApplyAnimation(playerid,"PED","IDLE_tired",4.1,0,1,1,0,1);// ???????? ????????
SetPVarInt(playerid,"Job",1);// ????????????? ?????? ?????? ?????? ?? 1..
new checkp = random(MAX_PCHECK);
SetPlayerCheckpoint(playerid,pcheck[checkp][0],pcheck[checkp][1],pcheck[checkp][2],1.5);// ??????? ???? ?? ??????????
}
}
if(newkeys & KEY_JUMP && !(oldkeys & KEY_JUMP) && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED) ApplyAnimation(playerid, "GYMNASIUM", "gym_jog_falloff",4.1,0,1,1,0,0);
//=============================================
if(GetPVarInt(playerid,"JOBDERr") == 1)
{
if(newkeys == KEY_SECONDARY_ATTACK || newkeys == KEY_JUMP || newkeys == KEY_CROUCH || newkeys == KEY_SPRINT|| newkeys == KEY_FIRE)
{
ApplyAnimation(playerid,"MISC","plyr_shkhead",4.0,0,0,0,0,0,1);
startjob2[playerid] = true;
DisablePlayerCheckpoint(playerid);
ApplyAnimation(playerid,"MISC","plyr_shkhead",4.0,0,0,0,0,0,1);
SendClientMessage(playerid,-1,"?? ??????? ?????.");
gruzderevo[playerid] = 0;
if(IsPlayerAttachedObjectSlotUsed(playerid, 4)) RemovePlayerAttachedObject(playerid, 4);
SetPlayerAttachedObject( playerid, 4, 326, 6, -0.002, 0.02, 0.110044, 180.897, 180.126861, 165.350555, 1, 1, 1 );
new MARKERDER = random(4);
if(MARKERDER == 0) SetPlayerCheckpoint(playerid,-576.4386,988.3580,12.0000,1.5);
if(MARKERDER == 1) SetPlayerCheckpoint(playerid,-592.5366,1002.8056,12.0000,1.5);
if(MARKERDER == 2) SetPlayerCheckpoint(playerid,-584.7032,988.8539,12.0000,1.5);
if(MARKERDER == 3) SetPlayerCheckpoint(playerid,-592.3611,990.6585,12.0000,1.5);
SetPVarInt(playerid,"JOBDERr",2);
SetPVarInt(playerid,"INJOBDER",0);
}
}
if(GetPVarInt(playerid,"JOBDER") == 1)
{
if(newkeys == KEY_SECONDARY_ATTACK || newkeys == KEY_JUMP || newkeys == KEY_CROUCH || newkeys == KEY_SPRINT|| newkeys == KEY_FIRE)
{
ApplyAnimation(playerid,"MISC","plyr_shkhead",4.0,0,0,0,0,0,1);
SendClientMessage(playerid,-1,"?? ???????? ????.");
if(IsPlayerAttachedObjectSlotUsed(playerid, 4)) RemovePlayerAttachedObject(playerid, 4);//326
SetPlayerAttachedObject(playerid,1, 18634, 14, 0.333391, 0.000000, 0.042249, 358.219909, 268.014739, 170.032974, 2.003867, 1.764811, 1.579773);// ???? ?????
new MARKERDER = random(4);
if(MARKERDER == 0) SetPlayerCheckpoint(playerid,-576.4386,988.3580,12.0000,1.5);
if(MARKERDER == 1) SetPlayerCheckpoint(playerid,-592.5366,1002.8056,12.0000,1.5);
if(MARKERDER == 2) SetPlayerCheckpoint(playerid,-584.7032,988.8539,12.0000,1.5);
if(MARKERDER == 3) SetPlayerCheckpoint(playerid,-592.3611,990.6585,12.0000,1.5);
SetPVarInt(playerid,"JOBDER",2);
SetPVarInt(playerid,"INJOBDER",0);
}
}
//================================================
if(newkeys & KEY_SPRINT)
{
for(new pod = 1; pod <= Allpodezd; pod++)
{
if(IsPlayerInRangeOfPoint(playerid,1.0,Podezd[pod][poiX],Podezd[pod][poiY],Podezd[pod][poiZ]) && GetPlayerVirtualWorld(playerid) == Podezd[pod][poWwoarld])
{
SetPlayerVirtualWorld(playerid,Podezd[pod][poFirst]);
SetPlayerPos(playerid,2337.6519,-1720.1720,24.7105);
return 1;
}
}
for(new house = 1; house <= AllHouse; house++)
{
if(IsPlayerInRangeOfPoint(playerid,1.0,House[house][hvX],House[house][hvY],House[house][hvZ]) && GetPlayerVirtualWorld(playerid) == House[house][hvWorld])
{
if(!strcmp(House[house][hOwner],"Nones",false))
{
if(House[house][hRealmon] == 0)
{
new str[255];
format(str,sizeof(str),"\
{ffffff}????????? ???\n\n\
????: %d ??? (%s)\n\
????????? ???????: %d (%s)\n\
????????: %d\n\
\n\
???? ?????? ?????? ??????? \"??????\"\n\
???? ?? ?????? ??????? \"???????\""
,House[house][hPrice],(GetMoney(playerid) < House[house][hPrice]?("????????????"):("??????????"))
,House[house][hLevel],(PlayerInfo[playerid][pLevel] < House[house][hLevel]?("?????????????"):("???????????")),House[house][htype]);
if(PlayerInfo[playerid][pLevel] < House[house][hLevel] || GetMoney(playerid) < House[house][hPrice])
{
return ShowPlayerDialog(playerid, 10000,0,"??????? ????????",str,"???????","");
}
else
{
SetPVarInt(playerid,"house_active",house);
return ShowPlayerDialog(playerid, 7545,0,"??????? ????????",str,"??????","???????");
}
}
else
{
new str[255];
format(str,sizeof(str),"\
{ffffff}????????? ???\n\n\
????: %d RP???? (%s)\n\
????????? ???????: %d (%s)\n\
\n\
???? ?????? ?????? ??????? \"??????\"\n\
???? ?? ?????? ??????? \"???????\""
,House[house][hRealmon],(PlayerlogInfo[playerid][lRezerv] < House[house][hRealmon]?("????????????"):("??????????"))
,House[house][hLevel],(PlayerInfo[playerid][pLevel] < House[house][hLevel]?("?????????????"):("???????????")));
if(PlayerInfo[playerid][pLevel] < House[house][hLevel] || PlayerlogInfo[playerid][lRezerv] < House[house][hRealmon])
{
return ShowPlayerDialog(playerid, 10000,0,"??????? ????????",str,"???????","");
}
else
{
SetPVarInt(playerid,"house_active",house);
return ShowPlayerDialog(playerid, 7545,0,"??????? ????????",str,"??????","???????");
}
}
}
else
{
new arend[32];
if(House[house][hRent] > 0) format(arend,32,"%d ??? ? ???",House[house][hRent]);
else if(House[house][hRent] <= 0) format(arend,32,"???",House[house][hRent]);
new str[255];
format(str,sizeof(str),"\
{ffffff}???\n\n\
????????: %s\n\
??????: %s\n\
??????: %s\n\
????????: %d\n\
\n\
???? ?????? ????? ??????? \"?????\"\n\
???? ?? ?????? ??????? \"???????\""
,House[house][hOwner]
,((House[house][hLock] == 0) ? ("??????"):("??????")),
arend,House[house][htype]);
if(House[house][hLock] == 1)
{
return ShowPlayerDialog(playerid, 10000,0,"???",str,"???????","");
}
else
{
SetPVarInt(playerid,"house_active",house);
return ShowPlayerDialog(playerid, 7546,0,"???",str,"?????","???????");
}
}
}
else if(IsPlayerInRangeOfPoint(playerid,1.0,House[house][hiX],House[house][hiY],House[house][hiZ]) && GetPlayerVirtualWorld(playerid) == house)
{
new year,month,day;
getdate(year, month, day);
House[house][hMonth] = month;
House[house][hDay] = day;
SetPlayerPos(playerid,House[house][hvX],House[house][hvY],House[house][hvZ]);
SetPlayerVirtualWorld(playerid,House[house][hvWorld]);
SetPlayerInterior(playerid,0);
UpdateHouse(house);
SaveHouse(house);
return 1;
}
}
}
if(newkeys == KEY_YES)
{
if(zakazavtoid[playerid] >= 400)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(Zakazvibor[playerid] == 0)
{
if(IsARpavto2(zakazavtoid[playerid]))
{
return 1;
}
}else{
if(IsARpavtof(zakazavtoid[playerid],playerid))
{
return 1;
}
}
}
SetTimerEx("SetBuycar",800,0,"ifff",playerid);
SetPlayerVirtualWorld(playerid, 0);
}
if(PlayerInfo[playerid][pYer] == 0){return 1;}
if(PlayerInfo[playerid][pYer] == 1)return OnPlayerCommandText(playerid,"/vid");
if(PlayerInfo[playerid][pYer] == 2)return OnPlayerCommandText(playerid,"/??????????");
if(PlayerInfo[playerid][pYer] == 3)return OnPlayerCommandText(playerid,"/zapravka");
if(PlayerInfo[playerid][pYer] == 4)return OnPlayerCommandText(playerid,"/leftright");
if(PlayerInfo[playerid][pYer] == 5)return OnPlayerCommandText(playerid,"/windowdown");
if(PlayerInfo[playerid][pYer] == 6)return OnPlayerCommandText(playerid,"/left");
if(PlayerInfo[playerid][pYer] == 7)return OnPlayerCommandText(playerid,"/right");
if(PlayerInfo[playerid][pYer] == 8)return OnPlayerCommandText(playerid,"/kruiz");
if(PlayerInfo[playerid][pYer] == 9)return OnPlayerCommandText(playerid,"/menudvigon");
if(PlayerInfo[playerid][pYer] == 10)return OnPlayerCommandText(playerid,"/menusveton");
if(PlayerInfo[playerid][pYer] == 11)return OnPlayerCommandText(playerid,"/redactor");
if(PlayerInfo[playerid][pYer] == 12)return OnPlayerCommandText(playerid,"/stats");
if(PlayerInfo[playerid][pYer] == 13)return OnPlayerCommandText(playerid,"/menuavto");
if(PlayerInfo[playerid][pYer] == 14)return OnPlayerCommandText(playerid,"/lock");
if(PlayerInfo[playerid][pYer] == 15)return OnPlayerCommandText(playerid,"/blinok");
if(PlayerInfo[playerid][pYer] == 16)return OnPlayerCommandText(playerid,"/??????");
}
//==============================================================================
if (newkeys&8192)
{
if(tuneredactors[playerid][0] == 1)
{
new xuy22[512];
tuneredactors[playerid][3]--;
if(tuneredactors[playerid][3] == 0)
{
format(xuy22,512,"");
PlayerTextDrawSetString(playerid,Tunetext2[playerid],xuy22);
}
if(tuneredactors[playerid][3] == -1){tuneredactors[playerid][3]++;}
return 1;
}
if(zakazavtoid[playerid] >= 400)
{
zakazcolorid[playerid] = 0;
if(zakazavtoid[playerid] == 400)
{
return 1;
}
if(vremyzakazaavto[playerid] == 0)
{
zakazavtoid[playerid]--;
if(Zakazvibor[playerid] == 0)
{
if(IsARpavto1(zakazavtoid[playerid],playerid))
{
return 1;
}
}else{
if(IsARpavtof(zakazavtoid[playerid],playerid))
{
return 1;

Сообщение отредактировал sorex: 26 December 2018 - 10:21


#2
sorex

Гражданин

Новичок
Репутация: 0

а хотя на самих этих строках нет ошибок!



#3
Wеb

#define if(%0) if((%0) && random(100000))

Актив
Репутация: 369

Скобка пропущена







Темы с аналогичным тегами Error

Количество пользователей, читающих эту тему: 0

0 пользователей, 0 гостей, 0 анонимных