15.07.2018, 17:09
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], 12;
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);
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], 12;
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);