Raised This Month: $ Target: $400
 0% 

tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 06-07-2010 , 07:25   tag mismatch
Reply With Quote #1

PHP Code:
new bool:lol[33] = false 
PHP Code:
167:    new victim read_data(2);
168:    if(victim == lol[id]) {
169:    lol[id] = false 
Code:
Warning: Tag mismatch on line 168
reinert is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-07-2010 , 08:05   Re: tag mismatch
Reply With Quote #2

Look think. You define "lol" as a bool, and you compare it with a player's index... Donc tag "lol" as bool.
__________________
Arkshine is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 06-07-2010 , 08:26   Re: tag mismatch
Reply With Quote #3

Thanks. where can I read more about Bool usage ?
reinert is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-07-2010 , 08:30   Re: tag mismatch
Reply With Quote #4

You don't know what is a boolean ? http://en.wikipedia.org/wiki/Boolean
__________________
Arkshine is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 06-07-2010 , 09:28   Re: tag mismatch
Reply With Quote #5

oh Bool was Boolean I didn't knew that.
reinert is offline
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 05:27.


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