Raised This Month: $ Target: $400
 0% 

Tag Mismatch Warning


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 02-06-2010 , 10:02   Tag Mismatch Warning
Reply With Quote #1

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 ?
__________________
Hi.
Kreation is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-06-2010 , 10:18   Re: Tag Mismatch Warning
Reply With Quote #2

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() );
__________________

Last edited by Bugsy; 02-06-2010 at 10:23.
Bugsy is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 02-06-2010 , 10:37   Re: Tag Mismatch Warning
Reply With Quote #3

Yeah, I got it now.. I declared them as global floats but got the names mixed up down toward the bottom. Thanks.
__________________
Hi.
Kreation 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 07:25.


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