Little help
#1

Hello, I started working on a business system.I added that:
pawn Код:
new str[40];
    for(new idx = 1; idx < sizeof(BusinessInfo); idx++)//loops through all the Businesses
    {
    format(str, sizeof(str), BPATH, idx);//formats the file path, with the biz ID
    INI_ParseFile(str, "loadbiz_%s", .bExtra = true, .extra = idx );//This is very hard to explain, but it basically loads the info from the file(More in ****** y_ini tutorial.)
    BusinessInfo[idx][bOutsideIcon] = CreateDynamicPickup(1272, 1, BusinessInfo[idx][bEntranceX], BusinessInfo[idx][bEntranceY], BusinessInfo[idx][bEntranceZ], BusinessInfo[idx][bWorld]); //Creates a pickup at the business entrance.
    BusinessInfo[idx][bInsideIcon] = CreateDynamicPickup(1272, 1, BusinessInfo[idx][bExitX], BusinessInfo[idx][bExitY], BusinessInfo[idx][bExitZ], BusinessInfo[idx][bInsideWorld]); //Creates a pickup at the exit(Inside the interior)
    }
and when I compiled gave me some errors
pawn Код:
E:\SA-MP Resources\RPG\gamemodes\New.pwn(84) : error 017: undefined symbol "INI_ParseFile"
E:\SA-MP Resources\RPG\gamemodes\New.pwn(84) : warning 215: expression has no effect
E:\SA-MP Resources\RPG\gamemodes\New.pwn(84) : error 029: invalid expression, assumed zero
E:\SA-MP Resources\RPG\gamemodes\New.pwn(84) : error 017: undefined symbol "extra"
E:\SA-MP Resources\RPG\gamemodes\New.pwn(84) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Please help.
Reply


Messages In This Thread
Little help - by SounDD - 29.09.2012, 14:49
Re: Little help - by xMCx - 29.09.2012, 14:57
Re: Little help - by SounDD - 29.09.2012, 14:59

Forum Jump:


Users browsing this thread: 1 Guest(s)