warning 213: tag mismatch
#1

Someone help me solve this plz :v

Код:
C:\Users\gamemodes\gamemode.pwn(4280) : warning 213: tag mismatch
C:\Users\gamemodes\gamemode.pwn(4280) : warning 213: tag mismatch
C:\Users\gamemodes\gamemode.pwn(4280) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Код:
Line 4280: 
CreateDynamicPickup(1239, 23, bX, bY, bZ, 0);
I'm trying to put a PickupID 1239 At the entrance of businesses But it shows 3 warnings.
Can someone help me?

bX, bY, bZ : Indicates the business entries.

Код:
enum businessEnum {
	bID,
	Float:bX,
	Float:bY,
	Float:bZ,
	bPrice,
	bInt,
	bMoney,
	bLocked,
	bOwner[MAX_PLAYER_NAME],
	bName[20],
	bRadio[200],
	bFee,
	bStreet[40],
	bHousenumber,
	bBusinesszip,
	bTaxes,
	bFaction
}
new BusinessInfo[MAX_BUSINESSES][businessEnum];
Reply
#2

Can you post all the codes where you put #line 4280 pls?

Like where you do it.
Reply
#3

Everything seems fine with that line. Check file name where that warnings occurs, and try commenting that line (see if warnings are gone then).
Reply
#4

Quote:
Originally Posted by axellech
Посмотреть сообщение
Код:
Line 4280: 
CreateDynamicPickup(1239, 23, bX, bY, bZ, 0);
That is wrong. You're just inserting the enum constants which are quite literally the values 1, 2 and 3. You need to replace that with BusinessInfo[?][bX] (etc.), replacing the question marks with whatever variable you use to iterate over the array.
Reply
#5

...up :v
Reply
#6

Quote:
Originally Posted by axellech
Посмотреть сообщение
...up :v
Quote:

That is wrong. You're just inserting the enum constants which are quite literally the values 1, 2 and 3. You need to replace that with BusinessInfo[?][bX] (etc.), replacing the question marks with whatever variable you use to iterate over the array.

....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)