SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/04/2012, 07:50 PM   #1
emp7y
Big Clucker
 
Join Date: Aug 2009
Posts: 115
Reputation: 0
Exclamation warning 213: tag mismatch

Code:
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2622) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2630) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2786) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2786) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2805) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2805) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2822) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(2822) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3382) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3382) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3386) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3386) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3400) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3400) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3404) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3404) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3408) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3408) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3412) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3412) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3416) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3416) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3420) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3420) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3424) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3424) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3424) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3424) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3427) : error 075: input line too long (after substitutions)
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : warning 213: tag mismatch
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3428) : error 017: undefined symbol "play"
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3429) : error 017: undefined symbol "erid"
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3429) : error 029: invalid expression, assumed zero
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3429) : error 029: invalid expression, assumed zero
C:\Documents and Settings\emp7y\Desktop\filehost_samp03\samp03\gamemodes\RPemp.pwn(3429) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.
I try to compile gm gives me error occurred and this.

Server.cfg
Code:
echo Executing Server Config...
lanmode 0
rcon_password lightnab2adminq`
maxplayers 100
port 7777
hostname RPG Server
GameMode0 RPemp
filterscripts MidoStream
plugins streamer Whirlpool
announce 0
query 1
weburl www....ro
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 16
emp7y is offline   Reply With Quote
Old 05/04/2012, 07:53 PM   #2
Kitten
High-roller
 
Join Date: Jul 2010
Location: United States
Posts: 2,179
Reputation: 339
Default Re: warning 213: tag mismatch

your server.cfg does not relate to the warnings

it's the script, depends on what you're using like GivePlayerWeapon(playerid,0,0); the reason you might be getting the warnings are you forgot one of the slots for example GivePlayerWeapon(playerid,0);
__________________
Download DayZ Gamemode CLICK HERE TO VISIT PGA

-- P.S Left SA:MP; it's pretty dead and it's way different than it used to be. Good luck y'all!
Kitten is offline   Reply With Quote
Old 05/04/2012, 07:53 PM   #3
Drebin
High-roller
 
Drebin's Avatar
 
Join Date: Oct 2010
Posts: 1,103
Reputation: 560
Default AW: warning 213: tag mismatch

Show us the code.
__________________


GamerX - The SA-MP legend.
Online since 2006.

188.165.219.63:8800
www.gamerxserver.com
Drebin is offline   Reply With Quote
Old 05/04/2012, 07:54 PM   #4
emp7y
Big Clucker
 
Join Date: Aug 2009
Posts: 115
Reputation: 0
Default Re: warning 213: tag mismatch

and how can I solve ?
emp7y is offline   Reply With Quote
Old 05/04/2012, 08:09 PM   #5
emp7y
Big Clucker
 
Join Date: Aug 2009
Posts: 115
Reputation: 0
Default Re: warning 213: tag mismatch

OR here : http://pastebin.com/GREkCJN7 , is all on line 2622 to 3429

2622
Code:
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
2630
Code:
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
2786
Code:
if(IsPlayerInRangeOfPoint(3.0,playerid,1813.7523,-1889.4709,13.4141) || IsPlayerInRangeOfPoint(3.0,playerid,1808.6584,-1889.8293,13.4073))
2805
Code:
if(IsPlayerInRangeOfPoint(3.0,playerid,1067.3846,1362.6433,10.6719) || IsPlayerInRangeOfPoint(3.0,playerid,1066.9341,1355.4327,10.7231))
2822
Code:
if(IsPlayerInRangeOfPoint(3.0,playerid,1168.7455,1361.6013,10.9293) || IsPlayerInRangeOfPoint(3.0,playerid,1168.7441,1364.3942,10.8125))
3382
Code:
if(IsPlayerInRangeOfPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || IsPlayerInRangeOfPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
3386
Code:
else if(IsPlayerInRangeOfPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || IsPlayerInRangeOfPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
3400
Code:
if(IsPlayerInRangeOfPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
3404
Code:
else if(IsPlayerInRangeOfPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
3408
Code:
else if(IsPlayerInRangeOfPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
3412
Code:
else if(IsPlayerInRangeOfPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
3416
Code:
else if(IsPlayerInRangeOfPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(10.0,playerid,614.9333,1689.7418,6.6968))
3420
Code:
else if(IsPlayerInRangeOfPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(6.0,playerid,70.3882,1218.6783,18.5165))
3424
Code:
else if(IsPlayerInRangeOfPoint(8.0,playerid,653.7887,-558.9128,16.0569) || IsPlayerInRangeOfPoint(6.0,playerid,657.8952,-560.0955,16.0563) || IsPlayerInRangeOfPoint(6.0,playerid,657.7588,-570.0426,16.0558) || IsPlayerInRangeOfPoint(6.0,playerid,653.2770,-570.6624,16.0559))
3427 & 3428 & 3429
Code:
		}
		else if(IsPlayerInRangeOfPoint(8.0,playerid,-93.2372,-1161.8323,1.8126) || IsPlayerInRangeOfPoint(6.0,playerid,-98.2476,-1173.9332,1.9468) || IsPlayerInRangeOfPoint(6.0,playerid,-95.8510,-1173.7600,1.9070) || IsPlayerInRangeOfPoint(6.0,playerid,-90.6453,-1161.3311,1.7448) || IsPlayerInRangeOfPoint(6.0,playerid,-86.1291,-1163.8663,1.7806) || IsPlayerInRangeOfPoint(6.0,playerid,-91.5619,-1176.0808,1.7427) || IsPlayerInRangeOfPoint(6.0,playerid,-88.9722,-1176.5046,1.7013) || IsPlayerInRangeOfPoint(6.0,playerid,-83.9432,-1164.8085,1.7549))
		{//LS
emp7y is offline   Reply With Quote
Old 06/04/2012, 06:56 AM   #6
emp7y
Big Clucker
 
Join Date: Aug 2009
Posts: 115
Reputation: 0
Default Re: warning 213: tag mismatch

sorry for triple post , but any help me ?
emp7y is offline   Reply With Quote
Old 06/04/2012, 07:23 AM   #7
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 559
Reputation: 64
Default Re: warning 213: tag mismatch

your usage of IsPlayerInRangeOfPoint is wrong, why the float:distance are before playerid, you using it all wrong this is the correct usage of IsPlayerInRangeOfPoint

pawn Code:
IsPlayerInRangeOfPoint(playerid, Float:distance, Float:X, Float:Y, Float:Z);
__________________

Asking a reputation for Server Advertisement? You kidding me, You are totally n00b!
Reklez is offline   Reply With Quote
Old 06/04/2012, 07:36 AM   #8
emp7y
Big Clucker
 
Join Date: Aug 2009
Posts: 115
Reputation: 0
Default Re: warning 213: tag mismatch

This is the line that I have already:
Code:
if(IsPlayerInRangeOfPoint(3.0,playerid,1813.7523,-1889.4709,13.4141)
so you must change:
Code:
if(IsPlayerInRangeOfPoint(playerid, Float:1813.7523, Float:-1889.4709, Float:13.4141);
emp7y is offline   Reply With Quote
Old 06/04/2012, 07:40 AM   #9
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 559
Reputation: 64
Default Re: warning 213: tag mismatch

You have to change all your lines.

your usage of IsPlayerInRangeOfPoint is begin with this

pawn Code:
if(IsPlayerInRanegOfPoint(Float:distance, playerid, Float:X, Float:Y, Float:Z);

that is wrong, this is the correct one

pawn Code:
if(IsPlayerInRangeOfPoint(playerid, Float:distance, Float:X, Float:Y, Float:Z))

don't also forget the Float:distance and remove the Float:, just remain the float values.
__________________

Asking a reputation for Server Advertisement? You kidding me, You are totally n00b!
Reklez is offline   Reply With Quote
Old 06/04/2012, 07:47 AM   #10
emp7y
Big Clucker
 
Join Date: Aug 2009
Posts: 115
Reputation: 0
Default Re: warning 213: tag mismatch

it is well

Code:
if(IsPlayerInRangeOfPoint(playerid, 1813.7523, -1889.4709, 13.4141)
emp7y is offline   Reply With Quote
Reply

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
warning 213: tag mismatch jaksimaksi Help Archive 5 19/08/2011 07:04 AM
warning 213: tag mismatch Jony_King Help Archive 10 28/11/2010 11:06 AM
[Warning 213] Tag Mismatch Mujib Help Archive 5 01/05/2010 11:49 AM
[Help] Warning 213: Tag Mismatch cembry90 Help Archive 5 14/01/2010 01:52 PM
warning 213: tag mismatch ғαιιοцт Help Archive 0 23/02/2009 05:20 PM


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


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