26.05.2014, 06:20
I declared BizID like this:
Errors:
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!");
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;
Код:
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.
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!");