PDA

View Full Version : 8 errors.. Now?


TaligaroW
15/07/2018, 04:51 PM
Hello,can anyone help me.
I got these errors but i dont know from where

C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\YSI\y_hooks/impl.inc(2339) : error 025: function heading differs from prototype
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\YSI\y_hooks/impl.inc(2386) : error 025: function heading differs from prototype
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\mSelection.inc(192) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\mSelection.inc(196) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\mSelection.inc(197) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\ELC_AC_BASE.inc(1220) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\ELC_AC_BASE.inc(1468) : error 010: invalid function or declaration
C:\Users\Taligarov\Desktop\TEST SERVER\pawno\include\ELC_AC_BASE.inc(1470) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.

Calisthenics
15/07/2018, 04:53 PM
OnPlayerWeaponShot was added in 0.3z so how outdated are your includes? Download latest server package from downloads in sa-mp.com

TaligaroW
15/07/2018, 04:59 PM
Can anyone help me, i think i can fix it, if i fix it i'll post:o

TaligaroW
15/07/2018, 05:09 PM
Fixed,but getting these 2 errors

ERRORS:
error 010: invalid function or declaration
error 010: invalid function or declaration

Code:
public loadfaction_data(idx, name[], value[])
{
INI_Int("Members", FactionInfo[idx][fMembers]);
INI_Int("ID", FactionInfo[idx][fID]);
INI_String("Leader", FactionInfo[idx][fLeader], 24);
INI_String("Name", FactionInfo[idx][fName], 128);
INI_String("Information", FactionInfo[idx][fInformation], 256);
INI_String("Rank1", FactionInfo[idx][fRank1], 64);
INI_String("Rank2", FactionInfo[idx][fRank2], 64);
INI_String("Rank3", FactionInfo[idx][fRank3], 64);
INI_String("Rank4", FactionInfo[idx][fRank4], 64);
INI_String("Rank5", FactionInfo[idx][fRank5], 64);
INI_String("Rank6", FactionInfo[idx][fRank6], 64);
INI_Int("Type", FactionInfo[idx][fType]);
return 1;
}

main()
{
print(" _____________________");
print(" ESPBG RP v1.4");
print(" Script ot TaligaroW");
print(" ");
}

public OnGameModeInit()
{
SetGameModeText("BGEXPRESS-RP v1.3");
DisableInteriorEnterExits();
ShowPlayerMarkers(0);
ManualVehicleEngineAndLights();
FadeInit();
SetNameTagDrawDistance(18.0);
ShowNameTags(1);
EnableStuntBonusForAll(0);
SetTimer("MoneyTimer", 2500, 1);
SetTimer("paytime", 60000, 1);
SetTimer("JailTimer", 1000, 1);
SetTimer("DMVTimer", 2500, 1);
SetTimer("BUSTimer", 2500, 1);
SetTimer("PizzaTimer", 2000, 1);
SetTimer("GlobalSavery", 300000, 1);