Business system is getting errors.
#1

I declared BizID like this:
pawn Код:
enum bInfo {
    bOwned,
    bPrice,
    bOwner[MAX_PLAYER_NAME],
    bType,
    bLocked,
    bMoney,
    Float:bEntranceX,
    Float:bEntranceY,
    Float:bEntranceZ,
    Float:bEntranceA,
    Float:bExitX,
    Float:bExitY,
    Float:bExitZ,
    Float:bExitA,
    bInt,
    bWorld,
    bInsideInt,
    bInsideWorld,
    bInsideIcon,
    bOutsideIcon,
    bName[128],
}
new BusinessInfo[200][bInfo];//We are creating a define to use for our Enum.
new BizID;
Errors:
Код:
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1396) : warning 213: tag mismatch
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1444) : warning 213: tag mismatch
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1448) : warning 213: tag mismatch
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1461) : warning 213: tag mismatch
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1462) : warning 213: tag mismatch
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1467) : warning 213: tag mismatch
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1475) : warning 213: tag mismatch
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(1476) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Warnings.
It all with the BizID in it, I defined wrong? If I put in the enum I get more errors.
The tutorial says I have to put it under the enum.
https://sampforum.blast.hk/showthread.php?tid=349466
One error line.
if(id != PlayerInfo[playerid][BizID]) return SCM(playerid, COLOR_GREY, "This isn't your biz!");
Reply


Messages In This Thread
Business system is getting errors. - by Mey6155 - 26.05.2014, 06:20
Re: Business system is getting errors. - by NaClchemistryK - 26.05.2014, 06:26
Re: Business system is getting errors. - by Jankingston - 26.05.2014, 08:58
Re: Business system is getting errors. - by NaClchemistryK - 26.05.2014, 09:05
Re: Business system is getting errors. - by Jack_Leslie - 26.05.2014, 09:46
Re: Business system is getting errors. - by Mey6155 - 26.05.2014, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)