warning 213: tag mismatch !! >:(
#1

Код:
House_CreateEntrance(HouseID)
{
	new msg[128], Float:x, Float:y, Float:z;
	
	x = HInfo[HouseID][HX];
	y = HInfo[HouseID][HY];
	z = HInfo[HouseID][HZ];
	
	if(HInfo[HouseID][Owned] == true)
	{
	    HInfo[HouseID][PickupID] = CreateDynamicPickup(1272, 1, x, y, z, 0);
		format(msg, 128, "Owner: %s[128]", HInfo[HouseID][Owner]);
		HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
	    if(ShowBoughtHouses == true) return HInfo[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 32, 0, 0, 0, -1, 150.0);
	}
	else
	{
		HInfo[HouseID][PickupID] = CreateDynamicPickup(1273, 1, x, y, z, 0);
		format(msg, 128, "For Sale");
		HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
		HInfo[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 31, 0, 0, 0, -1, 150.0);
	}
	return 1;
}
so when i compile it says
Код:
C:\Users\Matt Laptop\Desktop\RP\pawno\include\houses.inc(13) : warning 213: tag mismatch
C:\Users\Matt Laptop\Desktop\RP\pawno\include\houses.inc(20) : warning 213: tag mismatch
Line 13:
Код:
HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
Line 20:
Код:
HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
Why is it doing this to me, i copied from another server code and it works in theirs so why not mine?
Reply
#2

DoorText is not Text3D:

change

pawn Код:
enum HInfo
{
    DoorText
};
to

pawn Код:
enum HInfo
{
    Text3D:DoorText
};
Reply
#3

Awesome thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)