Raised This Month: $ Target: $400
 0% 

Warning fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mammapappa
Member
Join Date: Nov 2008
Old 01-09-2011 , 08:09   Warning fix
Reply With Quote #1

Can someone pls fix these warnings?
Attached Files
File Type: sma Get Plugin or Get Source (hns_xp.sma - 618 views - 44.0 KB)
mammapappa is offline
Pantheon
Member
Join Date: Jan 2011
Old 01-09-2011 , 09:14   Re: Warning fix
Reply With Quote #2

Could you post the warnings instead?
Pantheon is offline
mammapappa
Member
Join Date: Nov 2008
Old 01-09-2011 , 09:21   Re: Warning fix
Reply With Quote #3

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 1080
Warning: Tag mismatch on line 1081
Warning: Tag mismatch on line 1082
Warning: Tag mismatch on line 1082
Warning: Tag mismatch on line 1085
Warning: Tag mismatch on line 1089
Warning: Tag mismatch on line 1103
Warning: Tag mismatch on line 1103
Warning: Tag mismatch on line 1108
Warning: Tag mismatch on line 1108
Warning: Tag mismatch on line 1216
Warning: Tag mismatch on line 1217
Warning: Tag mismatch on line 1218
Warning: Tag mismatch on line 1218
Warning: Tag mismatch on line 1221
Warning: Tag mismatch on line 1225
Warning: Tag mismatch on line 1239
Warning: Tag mismatch on line 1239
Warning: Tag mismatch on line 1244
Warning: Tag mismatch on line 1244
Warning: Tag mismatch on line 1352
Warning: Tag mismatch on line 1353
Warning: Tag mismatch on line 1354
Warning: Tag mismatch on line 1354
Warning: Tag mismatch on line 1357
Warning: Tag mismatch on line 1361
Warning: Tag mismatch on line 1375
Warning: Tag mismatch on line 1375
Warning: Tag mismatch on line 1380
Warning: Tag mismatch on line 1380
Warning: Tag mismatch on line 1381
Warning: Tag mismatch on line 1381
Warning: Symbol is never used: "HasTeammateAlive" on line 1674
Header size:           2616 bytes
Code size:            54460 bytes
Data size:            99756 bytes
Stack/heap size:      16384 bytes; max. usage is unknown, due to recursion
Total requirements:  173216 bytes

33 Warnings.
Done.
mammapappa is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-09-2011 , 13:38   Re: Warning fix
Reply With Quote #4

The lines don't match up to your code.

PHP Code:
enum _:Items
{
    
ITEM_HEALTH,
    
ITEM_ARMOR,
    
ITEM_NOFALL
}; 
I think the _: means you don't need to tag your variables that use this as "Items".
__________________
fysiks is offline
mammapappa
Member
Join Date: Nov 2008
Old 01-09-2011 , 14:12   Re: Warning fix
Reply With Quote #5

could you explain more in detail i'm not that good in eng.. or perhaps fix it?
mammapappa is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-09-2011 , 14:24   Re: Warning fix
Reply With Quote #6

Remove all of the "Item:"
__________________
fysiks is offline
mammapappa
Member
Join Date: Nov 2008
Old 01-09-2011 , 14:40   Re: Warning fix
Reply With Quote #7

hm can you do it for me i just get errors..
mammapappa is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-09-2011 , 15:17   Re: Warning fix
Reply With Quote #8

here
Attached Files
File Type: sma Get Plugin or Get Source (hns_xp_edit.sma - 499 views - 44.0 KB)
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
mammapappa
Member
Join Date: Nov 2008
Old 01-09-2011 , 15:30   Re: Warning fix
Reply With Quote #9

Thanks (:
mammapappa 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 02:08.


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