AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   tag mismatch (https://forums.alliedmods.net/showthread.php?t=128947)

reinert 06-07-2010 07:25

tag mismatch
 
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

Arkshine 06-07-2010 08:05

Re: tag mismatch
 
Look think. You define "lol" as a bool, and you compare it with a player's index... Donc tag "lol" as bool.

reinert 06-07-2010 08:26

Re: tag mismatch
 
Thanks. where can I read more about Bool usage ?

Arkshine 06-07-2010 08:30

Re: tag mismatch
 
You don't know what is a boolean ? http://en.wikipedia.org/wiki/Boolean

reinert 06-07-2010 09:28

Re: tag mismatch
 
oh Bool was Boolean :D I didn't knew that.


All times are GMT -4. The time now is 05:27.

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