Raised This Month: $ Target: $400
 0% 

[SOLVED]MisMatch Error please help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pain00
Member
Join Date: May 2007
Old 07-08-2011 , 23:18   [SOLVED]MisMatch Error please help
Reply With Quote #1

When i compile my plugin i get this warning

Tag mismatch
code
HTML Code:
    new vicname[32], killname[32]
    get_user_name(victim,vicname,31);
    get_user_name(killer,killname,31);
    

    switch(random(5))    
       {
        case 0:
                
        {
            set_hudmessage(100, 255, 100, 0.75, 0.04, 2, 0.1, 10, 0.04, 1.0, 1);
            ShowSyncHudMsg(0, SyncHudObj11, "[%s] %s killed [%s] %s",class_id , killname , class_idvic , vicname);
                        
        }
This is not the full line. but i get warning in all cases from 0 to 5

Last edited by pain00; 07-09-2011 at 10:44.
pain00 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-08-2011 , 23:25   Re: MisMatch Error please help
Reply With Quote #2

Quote:
Syntax:

set_hudmessage
( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )
Code:
set_hudmessage(100, 255, 100, 0.75, 0.04, 2, 0.1, 10, 0.04, 1.0, 1);
Find out which one you mismatched tags. Look carefully!
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
pain00
Member
Join Date: May 2007
Old 07-09-2011 , 02:02   Re: MisMatch Error please help
Reply With Quote #3

How ?!
pain00 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-09-2011 , 02:39   Re: MisMatch Error please help
Reply With Quote #4

Find which argument does not match the syntax.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-09-2011 , 03:27   Re: MisMatch Error please help
Reply With Quote #5

Syntax :
set_hudmessage ( 200, 100, 0 , -1.0, 0.35, 0, 6.0, 12.0, 0.1 , 0.2, 4)
Your Code:
set_hudmessage( 100, 255, 100, 0.75, 0.04, 2, 0.1, 10 , 0.04, 1.0, 1)
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
pain00
Member
Join Date: May 2007
Old 07-09-2011 , 04:38   Re: MisMatch Error please help
Reply With Quote #6

thank you guys now working

Another question , are warnings effect the game ? or code ?
pain00 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 00:12.


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