[Warning 213] Tag Mismatch - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Warning 213] Tag Mismatch (
/showthread.php?tid=145176)
[Warning 213] Tag Mismatch -
Mujib - 01.05.2010
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
Re: [Warning 213] Tag Mismatch -
Torran - 01.05.2010
Post your LocationPos thing
Re: [Warning 213] Tag Mismatch -
[MWR]Blood - 01.05.2010
pawn Код:
SetPlayerInterior(playerid, interiorid);
I guess the interior you want to set is 4, so:
pawn Код:
SetPlayerInterior(playerid,4);
Re: [Warning 213] Tag Mismatch -
Mujib - 01.05.2010
Quote:
Originally Posted by Joe Torran C
Post your LocationPos thing
|
new Float:LOCATIONPOS[MAX_LOCATIONS][5];
Re: [Warning 213] Tag Mismatch -
Hiddos - 01.05.2010
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?)
Re: [Warning 213] Tag Mismatch -
Mujib - 01.05.2010
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!