[Warning 213] Tag Mismatch
#1

Hi folks,

I hope you can help me with this one.
First I want to say that I am quite good at scripting but this is a very strange warning.

I am getting this warning
Код:
C:\Location\Location\Location\tp.pwn(80) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
And this is my line '80'
Код:
SetPlayerInterior(playerid, LOCATIONPOS[id][4]);
The 'tag' inst wrong from the way i see it.

So my question is What the f*ck is wrong?

Thank you in advance!

Kind regards,
Mujib
Reply
#2

Post your LocationPos thing
Reply
#3

pawn Код:
SetPlayerInterior(playerid, interiorid);
I guess the interior you want to set is 4, so:
pawn Код:
SetPlayerInterior(playerid,4);
Reply
#4

Quote:
Originally Posted by Joe Torran C
Post your LocationPos thing
new Float:LOCATIONPOS[MAX_LOCATIONS][5];
Reply
#5

Quote:
Originally Posted by Mujib
Quote:
Originally Posted by Joe Torran C
Post your LocationPos thing
new Float:LOCATIONPOS[MAX_PLAYERS][5];
The location is shown as a floating symbol, not an integer. (Maybe Floatround() works?)
Reply
#6

Quote:
Originally Posted by Hiddos
Quote:
Originally Posted by Mujib
Quote:
Originally Posted by Joe Torran C
Post your LocationPos thing
new Float:LOCATIONPOS[MAX_PLAYERS][5];
The location is shown as a floating symbol, not an integer. (Maybe Floatround() works?)
It compiled succesfully, I will test it out now!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)