Raised This Month: $ Target: $400
 0% 

How to fix Warning: Tag mismatch ?


Post New Thread Reply   
 
Thread Tools Display Modes
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 10-23-2014 , 23:05   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #11

PHP Code:
public something(id

    
set_dhudmessage(25525500.60.306.029.0)
    
show_dhudmessage(0"something"

__________________
Hey ^_^
NikKOo31 is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 10-24-2014 , 02:17   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #12

Converting a number to float by using float(Number) and a float to a number by using floatround(Float).
Or, I am not sure, but _:Value should convert Value, whatever it is, to a number.

More exactly, Tag Mismatch it's triggered if two variable types doesn't match and cannot be converted directly by the compiler. Every time you see it, check the documentation for the specified native.
__________________

Last edited by claudiuhks; 10-24-2014 at 02:18.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
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 #13

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 offline
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 #14

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
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 10-25-2014 , 18:11   Re: How to fix Warning: Tag mismatch ?
Reply With Quote #15

reliable overflow = client DC or server crash
unreliable overflow = nothing except client doesn't get message

much like comparing TCP to UDP
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
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:56.


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