Errors on Compile
#1

pawn Код:
new string[40], string2[280];
    for(new bizid = 1; bizid < sizeof(BizInfo); bizid++)
    {
        format(string, sizeof(string), BPATH, bizid);
        INI_ParseFile(string,"LoadBiz_%s", .bExtra = true, .extra = bizid);
        BizInfo[bizid][Pickup] = CreateDynamicPickup(1272, 1, BizInfo[bizid][ex], BizInfo[bizid][ey], BizInfo[bizid][ez]);
        if(BizInfo[bizid][Owned] == 0)//Checks if it is owned.
        {
            format(string2,sizeof(string2),""COL_RED"Owner: The State\n"COL_LBLUE"Type: %s\n"COL_YELLOW"Price: %d\n"COL_BLUE"ID: %d\n"COL_GREEN"This business is available to purchase - /buybiz", BizInfo[bizid][Type], BizInfo[bizid][Price], bizid); // Errors on this Line
            BizLabel[biz] = CreateDynamic3DTextLabel(string2, COLOR_RED, BizInfo[bizid][ex], BizInfo[bizid][ey], BizInfo[bizid][ez], 30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, 0, -1, -1, 30.0);
        }
        else
        {
            format(string2,sizeof(string2),""COL_RED"Owner: %s\n"COL_LBLUE"Type: %s\n"COL_BLUE"ID: %d", BizInfo[bizid][Owner], BizInfo[bizid][Type], bizid);
            BizLabel[biz] = CreateDynamic3DTextLabel(string2, COLOR_RED, BizInfo[bizid][ex], BizInfo[bizid][ey], BizInfo[bizid][ez], 30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, 0, -1, -1, 30.0);
        }
    }
ERRORS
Код:
C:\Documents and Settings\Adrian\My Documents\Samp Servers\World Wide Roleplay\gamemodes\WW-RP.pwn(427) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Adrian\My Documents\Samp Servers\World Wide Roleplay\gamemodes\WW-RP.pwn(427) : error 017: undefined symbol "FF1717"
C:\Documents and Settings\Adrian\My Documents\Samp Servers\World Wide Roleplay\gamemodes\WW-RP.pwn(427) : warning 217: loose indentation
C:\Documents and Settings\Adrian\My Documents\Samp Servers\World Wide Roleplay\gamemodes\WW-RP.pwn(427) : warning 215: expression has no effect
C:\Documents and Settings\Adrian\My Documents\Samp Servers\World Wide Roleplay\gamemodes\WW-RP.pwn(427) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Adrian\My Documents\Samp Servers\World Wide Roleplay\gamemodes\WW-RP.pwn(427) : fatal error 107: too many error messages on one line
Reply
#2

which is line 427?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)