changed to str_to_num/num_to_str

This commit is contained in:
Felix Geyer
2004-03-08 17:34:37 +00:00
parent 87378017fd
commit af26dc83a5
10 changed files with 16 additions and 16 deletions

View File

@ -92,7 +92,7 @@ public setMessage(id,level,cid) {
g_Length = strlen(g_scrollMsg)
new mytime[32]
read_argv(2,mytime,31)
g_Frequency = str_to_int(mytime)
g_Frequency = str_to_num(mytime)
if (g_Frequency > 0) {
new minimal = floatround((g_Length + 48) * (SPEED + 0.1))
if (g_Frequency < minimal) {