AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Tag Mismatch Warning (https://forums.alliedmods.net/showthread.php?t=117935)

Kreation 02-06-2010 10:02

Tag Mismatch Warning
 
Warning: Tag mismatch on line 841
Warning: Tag mismatch on line 843

Line 841 -->
PHP Code:

if( gametime != g_GameTime ) { 

Line 843 -->
PHP Code:

gametime g_GameTime 

Anyone ?

Bugsy 02-06-2010 10:18

Re: Tag Mismatch Warning
 
If those vars are storing get_gametime() then they need to be declared as floats.

new Float: varname;

or you can keep them as ints and use floatround

var = floatround( get_gametime() );

Kreation 02-06-2010 10:37

Re: Tag Mismatch Warning
 
Yeah, I got it now.. I declared them as global floats but got the names mixed up down toward the bottom. Thanks.


All times are GMT -4. The time now is 07:25.

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