AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to fix Warning: Tag mismatch ? (https://forums.alliedmods.net/showthread.php?t=250377)

Hepaa 10-23-2014 13:15

How to fix Warning: Tag mismatch ?
 
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


Administrator 10-23-2014 13:20

Re: How to fix Warning: Tag mismatch ?
 
set_dhudmessage(255, 255, 0, 0.6, 0.3, 0, 6.0, 29.0, 0.0, 0.0, 2)

Hepaa 10-23-2014 13:23

Re: How to fix Warning: Tag mismatch ?
 
Thank you. But there is still one warning. Do you know when may be one more problem?

Administrator 10-23-2014 13:30

Re: How to fix Warning: Tag mismatch ?
 
in the same line?

Hepaa 10-23-2014 14:08

Re: How to fix Warning: Tag mismatch ?
 
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

Xunfop 10-23-2014 14:52

Re: How to fix Warning: Tag mismatch ?
 
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


Hepaa 10-23-2014 15:07

Re: How to fix Warning: Tag mismatch ?
 
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?

Xalus 10-23-2014 15:44

Re: How to fix Warning: Tag mismatch ?
 
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..

avril-lavigne 10-23-2014 17:06

Re: How to fix Warning: Tag mismatch ?
 
mismatch because you tell id

public something(id)

then "all"
show_dhudmessage(0, "something")

zmd94 10-23-2014 20:12

Re: How to fix Warning: Tag mismatch ?
 
Maybe, you should upload the full code.


All times are GMT -4. The time now is 17:33.

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