Raised This Month: $ Target: $400
 0% 

tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 03-28-2006 , 17:05   tag mismatch
Reply With Quote #1

Code:
set_task(str_to_num(arg2)*60,"unjail",id)

Code:
Warning: Tag mismatch on line 60
what would be the correct way to write this?
wonsae is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 03-28-2006 , 17:24  
Reply With Quote #2

since it has to be float
Code:
set_task(str_to_num(arg2)*60.0,"unjail",id)
[ --<-@ ] Black Rose is offline
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 03-28-2006 , 17:41  
Reply With Quote #3

oh i see thanks
wonsae is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-28-2006 , 18:26  
Reply With Quote #4

floatstr, not str_to_num
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
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 16:46.


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