Raised This Month: $12 Target: $400
 3% 

help fuckin mismatch.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 11-25-2011 , 10:15   help fuckin mismatch.
Reply With Quote #1

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Warning: Tag mismatch on line 80
Header size:            852 bytes
Code size:             3612 bytes
Data size:             2560 bytes
Stack/heap size:      16384 bytes; estimated max. usage=322 cells (1288 bytes)
Total requirements:   23408 bytes

1 Warning.
Done.
wtf?

PHP Code:
enum Tutor_Sounds 
{
    
Notice,
    
Warning,
    
Promoted,
    
LevelUp,
    
Ready,
    
Alert,
    
Silent
}

new const 
csaw_tutor_sound[Tutor_Sounds][] = 
{
    
"csaw_vox/tutor_notice.wav"
    
"csaw_vox/tutor_warning.wav"
    
"csaw_vox/tutor_promoted.wav",
    
"csaw_vox/tutor_levelup.wav"
    
"csaw_vox/tutor_ready.wav",
    
"csaw_vox/tutor_alert.wav",
    
""
}
public 
plugin_precache()
{
    for(new 
0sizeof csaw_tutor_soundi++) 
        
precache_sound(csaw_tutor_sound[i])

This is the code related to the warning.
__________________
jc980 is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 11-25-2011 , 10:37   Re: help fuckin mismatch.
Reply With Quote #2

What 80. line?
__________________
kiki33hun is offline
padilha007
Senior Member
Join Date: Jul 2008
Old 11-25-2011 , 10:42   Re: help fuckin mismatch.
Reply With Quote #3

PHP Code:
enum Tutor_Sounds  

    
Notice
    
Warning
    
Promoted
    
LevelUp
    
Ready
    
Alert


new const 
csaw_tutor_sound[][] =  

    
"csaw_vox/tutor_notice.wav",  
    
"csaw_vox/tutor_warning.wav",  
    
"csaw_vox/tutor_promoted.wav"
    
"csaw_vox/tutor_levelup.wav",  
    
"csaw_vox/tutor_ready.wav"
    
"csaw_vox/tutor_alert.wav"


public 
plugin_precache() 

    for(new 
0sizeof csaw_tutor_soundi++) 
    {
        
precache_sound(csaw_tutor_sound[i]);
    }

__________________

padilha007 is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 11-25-2011 , 10:51   Re: help fuckin mismatch.
Reply With Quote #4

PHP Code:
for(new Tutor_SoundsTutorSounds0TutorSoundsi++) 
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 11-25-2011 , 22:15   Re: help fuckin mismatch.
Reply With Quote #5

Or simply changing this:
PHP Code:

enum Tutor_Sounds  

    
Notice
    
Warning
    
Promoted
    
LevelUp
    
Ready
    
Alert
    
Silent 

to this

PHP Code:

enum _
:Tutor_Sounds  

    
Notice
    
Warning
    
Promoted
    
LevelUp
    
Ready
    
Alert
    
Silent 

__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 11-25-2011 , 22:45   Re: help fuckin mismatch.
Reply With Quote #6

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Warning: Tag mismatch on line 162
Warning: Tag mismatch on line 164
Header size:            852 bytes
Code size:             3612 bytes
Data size:             2560 bytes
Stack/heap size:      16384 bytes; estimated max. usage=322 cells (1288 bytes)
Total requirements:   23408 bytes

2 Warnings.
Done.
PHP Code:
csaw_send_tutormsg(idTutor_Colors:iTypeTutor_Sounds:iSoundFloatHoldTime, const Msg[])
{
    if( 
iSound != Silent )
    {
        
client_cmd(id"spk %s"csaw_tutor_sound[iSound])
    }
        
    
message_begin(id MSG_ONE_UNRELIABLE MSG_BROADCASTcsaw_tutortext_msg, .player=id)
    
    
write_string(Msg)
    
    
write_byte(0)
    
    
write_short(-1)
    
write_shortid && !is_user_alive(id) ) 
    
write_short_:iType )
    
    
message_end()
    
    
id += TASK_OFFSET
    remove_task
(id)
    
    if( 
HoldTime 0.0 )
    {
        
set_task(HoldTime"csaw_tutor_close"id)
    }

iSound != Silent and the client_cmd
__________________
jc980 is offline
Old 11-26-2011, 01:15
fysiks
This message has been deleted by fysiks. Reason: Just ignore the warning if you are unwilling to find it on your own.
Reply


Thread Tools
Display Modes

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 04:27.


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