Raised This Month: $ Target: $400
 0% 

tag mismatch warning in code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nyuszy
Senior Member
Join Date: Apr 2009
Old 03-19-2011 , 12:39   tag mismatch warning in code
Reply With Quote #1

i get 3x tag mismatch in my code on line 41:
PHP Code:
new float:velocity[3]
pev(idpev_velocityvelocity)
// line 41:
if((velocity[0] == 0.0) && (velocity[1] == 0.0) && (velocity[2] == 0.0))
{
     
// some code

what is wrong there?
Nyuszy is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-19-2011 , 12:41   Re: tag mismatch warning in code
Reply With Quote #2

PHP Code:
if( velocity[0] == 0.0 && velocity[1] == 0.0 && velocity[2] == 0.0
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 03-19-2011 , 12:54   Re: tag mismatch warning in code
Reply With Quote #3

PHP Code:
new float:velocity[3
->

PHP Code:
new Float:velocity[3
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-19-2011 , 13:11   Re: tag mismatch warning in code
Reply With Quote #4

PHP Code:
new Float:velocity[3]
pev(idpev_velocityvelocity)
if(!
velocity[0] && !velocity[1] && !velocity[2])
{
     
// some code

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 05-25-2011 at 00:57.
ConnorMcLeod is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-19-2011 , 13:48   Re: tag mismatch warning in code
Reply With Quote #5

lol i didn't saw that typo xD
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-19-2011 , 14:02   Re: tag mismatch warning in code
Reply With Quote #6

Quote:
Originally Posted by tuty View Post
lol i didn't saw that typo xD
And you didn't change anything in your first post. It is the exact same code.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-19-2011 , 14:06   Re: tag mismatch warning in code
Reply With Quote #7

And your avatar hurts my eyes, would you bother change it ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 03-19-2011 , 14:34   Re: tag mismatch warning in code
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
metalicross is right.

PHP Code:
new Float:velocity[3]
pev(idpev_velocityvelocity)
if(!
velocity[0] && !velocity[1] && !velocity[2])
{
     
// some code

FUCK YEAH CONNOR SAID THAT I'M RIGHT LOLOLOLOLOL now I'll die happy.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-19-2011 , 14:40   Re: tag mismatch warning in code
Reply With Quote #9

Quote:
Originally Posted by ConnorMcLeod View Post
And your avatar hurts my eyes, would you bother change it ?
why?


other guy: why the hell should i change my post mistake was already corrected.
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Old 02-20-2013, 12:21
mult
This message has been deleted by ConnorMcLeod. Reason: Off Topic
Reply



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

Forum Jump


All times are GMT -4. The time now is 14:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode