Raised This Month: $ Target: $400
 0% 

How to fix Warning: Tag mismatch ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hepaa
Junior Member
Join Date: Apr 2011
Old 10-23-2014 , 13:15   How to fix Warning: Tag mismatch ?
Reply With Quote #1

Hi, please do you know how to fix this?

Warning: Tag mismatch on line 749
Warning: Tag mismatch on line 749
Warning: Tag mismatch on line 749

PHP Code:
749 set_dhudmessage(25525500.60.306.029.0002.0
Hepaa is offline
Administrator
Member
Join Date: Jun 2014
Old 10-23-2014 , 13:20   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #2

set_dhudmessage(255, 255, 0, 0.6, 0.3, 0, 6.0, 29.0, 0.0, 0.0, 2)
Administrator is offline
Hepaa
Junior Member
Join Date: Apr 2011
Old 10-23-2014 , 13:23   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #3

Thank you. But there is still one warning. Do you know when may be one more problem?
Hepaa is offline
Administrator
Member
Join Date: Jun 2014
Old 10-23-2014 , 13:30   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #4

in the same line?
Administrator is offline
Hepaa
Junior Member
Join Date: Apr 2011
Old 10-23-2014 , 14:08   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #5

Yes.

PHP Code:
747 public something(id)
748 {
749 set_dhudmessage(25525500.60.306.029.00.00.02)
750 show_dhudmessage(0"something")
751 
Warning: Tag mismatch on line 749

Last edited by Hepaa; 10-23-2014 at 14:09.
Hepaa is offline
Xunfop
Member
Join Date: Mar 2012
Location: 97Club
Old 10-23-2014 , 14:52   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #6

PHP Code:
set_dhudmessage(red=0,green=160,blue=0,Float:x=-1.0,Float:y=0.65,effects=2,Float:fxtime=6.0,Float:holdtime=3.0,Float:fadeintime=0.1,
                
Float:fadeouttime=1.5,bool:reliable=false
Xunfop is offline
Hepaa
Junior Member
Join Date: Apr 2011
Old 10-23-2014 , 15:07   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #7

Thank you. So there is problem with last number (2)? I thinked thats a channel. So can I ignore "bool:reliable=false"? What it does?
Hepaa is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 10-23-2014 , 15:44   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #8

dhudmessages dont use channels as far as I know.
And about the 'reliable', I also dont know what it is, never found what it is..
__________________
Retired.

Last edited by Xalus; 10-23-2014 at 15:45.
Xalus is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 10-24-2014 , 12:56   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #9

Quote:
Originally Posted by Xalus View Post
dhudmessages dont use channels as far as I know.
And about the 'reliable', I also dont know what it is, never found what it is..
It tells whether the message is going to be put in unreliable or reliable stream. Someone may explained it somewhere in the forum the difference between the two, but I think it goes like:
If put in reliable stream, message will crash the server if it was not received by the client properly;
If put in unreliable stream, message will disconnect the client if was not received properly;
or at least something like that.
klippy is online now
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 10-25-2014 , 15:34   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #10

Quote:
Originally Posted by Xalus View Post
dhudmessages dont use channels as far as I know.
And about the 'reliable', I also dont know what it is, never found what it is..
Reliable if I remember correctly, sets if the channel is reliable, if reliable is false and something happens then the server wont shutdown (or get an error, can't remember what happens on errors).

EDIT: sorry, KliPPy already answered it, I should read comments before posting.
__________________
and once again

Last edited by usaexelent; 10-25-2014 at 15:36.
usaexelent is offline
Send a message via Skype™ to usaexelent
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 17:33.


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