SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 01/05/2010, 11:39 AM   #1
Mujib
Huge Clucker
 
Join Date: Jan 2009
Location: Amsterdam
Posts: 270
Reputation: 35
Default [Warning 213] Tag Mismatch

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
Code:
C:\Location\Location\Location\tp.pwn(80) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
And this is my line '80'
Code:
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
Mujib is offline  
Old 01/05/2010, 11:40 AM   #2
Torran
High-roller
 
Join Date: Jan 2010
Posts: 1,779
Reputation: 1
Default Re: [Warning 213] Tag Mismatch

Post your LocationPos thing
Torran is offline  
Old 01/05/2010, 11:41 AM   #3
[MWR]Blood
High-roller
 
Join Date: Apr 2009
Posts: 2,272
Reputation: 105
Default Re: [Warning 213] Tag Mismatch

pawn Code:
SetPlayerInterior(playerid, interiorid);
I guess the interior you want to set is 4, so:
pawn Code:
SetPlayerInterior(playerid,4);
__________________
[MWR]Blood is offline  
Old 01/05/2010, 11:42 AM   #4
Mujib
Huge Clucker
 
Join Date: Jan 2009
Location: Amsterdam
Posts: 270
Reputation: 35
Default Re: [Warning 213] Tag Mismatch

Quote:
Originally Posted by Joe Torran C
Post your LocationPos thing
new Float:LOCATIONPOS[MAX_LOCATIONS][5];
Mujib is offline  
Old 01/05/2010, 11:44 AM   #5
Hiddos
High-roller
 
Hiddos's Avatar
 
Join Date: Sep 2008
Posts: 3,306
Reputation: 2184
Default Re: [Warning 213] Tag Mismatch

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?)
__________________
Quote:
Originally Posted by DeWolf View Post
For fuck's sake people, this whole thread is fucked up now.
Hiddos is offline  
Old 01/05/2010, 11:49 AM   #6
Mujib
Huge Clucker
 
Join Date: Jan 2009
Location: Amsterdam
Posts: 270
Reputation: 35
Default Re: [Warning 213] Tag Mismatch

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!
Mujib is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag Mismatch warning The_Pain Help Archive 4 31/01/2010 08:07 PM
{{HELP}} : warning 213: tag mismatch MatthewGarrowo Help Archive 15 29/01/2010 06:51 PM
[Help] Warning 213: Tag Mismatch cembry90 Help Archive 5 14/01/2010 01:52 PM
(54) : warning 213: tag mismatch SuperS0nic Help Archive 7 01/05/2009 02:04 PM
warning 213: tag mismatch ғαιιοцт Help Archive 0 23/02/2009 05:20 PM


All times are GMT. The time now is 05:44 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.