I'm was thinking the other day about changing speeds based on levels, and I came up with this.
Code:
if(level[id] == 1) {
set_user_maxspeed(id,320.0)
}
else if(level[id] == 2) {
set_user_maxspeed(id,321.0)
}
etc....
I was just wondering if there is a faster way then making a mess of ifs and else ifs.