AlliedModders

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

.Prometheus. 05-11-2005 17:43

Weird Tag Mismatch Error
 
I can't work it out....why is this happening? Why am I getting a tagmismatch on line 292?

Code:
format_time( time_format, 64, "%d", timeleft ) if( str_to_num( time_format ) >= 7 ) {     if( years == 1 ) {         format( time_format_output[len], 128-len, ", " )     }     new Float:weeky_thing = floatround( float( str_to_num( time_format )/7 ), floatround_floor ) 292:    new weeky_thing_str[64]     format( weeky_thing_str, 64, "%f", weeky_thing )     len += format( time_format_output[len], 128-len, "%s weeks", weeky_thing_str )     timeleft = timeleft - ( str_to_num( weeky_thing_str ) * 7 * 24 * 60 * 60 )     weeks = 1 }

it seems to be any line of code I put under "new Float:weeky_thing = floatround( float( str_to_num( time_format )/7 ), floatround_floor )"

teame06 05-11-2005 21:10

Code:
new time_format[64] format_time( time_format, 63, "%d", timeleft )


Code:
new weeky_thing_str[64] format( weeky_thing_str, 63, "%f", weeky_thing )

.Prometheus. 05-12-2005 03:19

bah, someone did point that out to me, but at some point I saw some code where it had 64 used in format, bleh.

Thanks :)


All times are GMT -4. The time now is 16:49.

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