Tag mismatch on pick up id's - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Tag mismatch on pick up id's (
/showthread.php?tid=490495)
Tag mismatch on pick up id's -
thimo - 26.01.2014
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?
Re: Tag mismatch on pick up id's -
Konstantinos - 26.01.2014
Make sure the PickupID from the enum AClubData uses does not have any tag.
Re: Tag mismatch on pick up id's -
thimo - 26.01.2014
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?
Re: Tag mismatch on pick up id's -
Scottas - 26.01.2014
You have two different variables, one is 'PickupID', other is 'PickUpID'
Re: Tag mismatch on pick up id's -
thimo - 26.01.2014
Thank you so much.