1 error: do not use array names like time, string, new etc... (use something similar such as iTime, g_Time, c_Time...)
2 error: you have left " , " on the end of line (line: 10) replace it with " ; " or delete it...
3 error: Use the floats in plugin init, or after it...
4 error: there is no such thing like RoundTime
sorry I've to go

read carefully your code, and you will see your mistakes