SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 06/04/2012, 07:53 AM   #11
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 559
Reputation: 64
Default Re: warning 213: tag mismatch

well as i said before don't forget the float:distance

like this

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

in your code you forgot Float:distance so it appears like this

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

so it will cause warnings
__________________

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

so it is great that:

Code:
if(IsPlayerInRangeOfPoint(playerid, 1813.7523, -1889.4709, 13.4141))
I removed

Code:
3.0
emp7y is offline   Reply With Quote
Old 06/04/2012, 08:03 AM   #13
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 559
Reputation: 64
Default Re: warning 213: tag mismatch

NO!!!

i mean don't remove Float:distance, please sometimes in your life understand the person who trying to help you
__________________

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

ok my fault I was not careful
Now is better?
Code:
if(IsPlayerInRangeOfPoint(playerid, Float:1813.7523, Float:-1889.4709, Float:13.4141))
emp7y is offline   Reply With Quote
Old 06/04/2012, 08:10 AM   #15
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 559
Reputation: 64
Default Re: warning 213: tag mismatch

i told you before don't add Float: just leave the value of Float.

and don't forget the Float:distance!!!!

ok i make it simple, me gonna teach u, how to use IsPlayerInRangeOfPoint

pawn Code:
if(IsPlayerInRangeOfPoint(playerid, 2.1, 1234.9888, 2341,7812, 3321,9987))

now clear?
__________________

Asking a reputation for Server Advertisement? You kidding me, You are totally n00b!
Reklez is offline   Reply With Quote
Old 06/04/2012, 08:18 AM   #16
Phyrunx
Big Clucker
 
Phyrunx's Avatar
 
Join Date: Apr 2012
Location: Locating....
Posts: 108
Reputation: 12
Default Re: warning 213: tag mismatch

i think this error is because of missing brackets
You can search this forum for IPleoMax's Missing Bracket Finder which will surely help you
Phyrunx is offline   Reply With Quote
Old 06/04/2012, 08:22 AM   #17
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 559
Reputation: 64
Default Re: warning 213: tag mismatch

Tag Mismatch = Missing Brackets? You kidding me, stop posting useless post if you don't what you saying or telling.
__________________

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

You want to say that instead of 2.1 add 3.0 after playerid
emp7y is offline   Reply With Quote
Old 06/04/2012, 08:24 AM   #19
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 559
Reputation: 64
Default Re: warning 213: tag mismatch

Quote:
Originally Posted by emp7y View Post
You want to say that instead of 2.1 add 3.0 after playerid
oh comeon this would take many years to learn for you

for more info go here

Click me to see whole new demension for scripter beginners!
__________________

Asking a reputation for Server Advertisement? You kidding me, You are totally n00b!
Reklez is offline   Reply With Quote
Old 06/04/2012, 08:24 AM   #20
Jack Shred
Big Clucker
 
Join Date: Oct 2010
Posts: 78
Reputation: 5
Default Re: warning 213: tag mismatch

He means that you have to add the distance in your code, which is 3.0 here, so this:

pawn Code:
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1813.7523, -1889.4709, 13.4141))
Jack Shred 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 08:06 PM.


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