Tag mismatch on pick up id's
#1

I am probably being stupid and sleepy now but why is this a tag mismatch?
pawn Код:
for(new i; i < MAX_CLUBS; i++)
    {
        if(pickupid == AClubData[i][PickupID])
        {
        }
    }
The tag mismatch line is on:
pawn Код:
if(pickupid == AClubData[i][PickupID])
Anyone knows whats wrong?
Reply
#2

Make sure the PickupID from the enum AClubData uses does not have any tag.
Reply
#3

This is how i created the thing:
pawn Код:
AClubData[i][PickUpID] = CreateDynamicPickup(1210, 19, AClubData[i][ClubX], AClubData[i][ClubY], AClubData[i][ClubZ], -1);
What am i doing wrong on the searching for pick up id?
Reply
#4

You have two different variables, one is 'PickupID', other is 'PickUpID'
Reply
#5

Thank you so much.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)