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=26210)

wonsae 03-28-2006 17:05

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

[ --<-@ ] Black Rose 03-28-2006 17:24

since it has to be float
Code:
set_task(str_to_num(arg2)*60.0,"unjail",id)

wonsae 03-28-2006 17:41

oh i see thanks

Twilight Suzuka 03-28-2006 18:26

floatstr, not str_to_num


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

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