I'm kind of stumped on this.
Code:
new speed = str_to_num(buffer)
set_user_maxspeed(id, %i, speed)
client_cmd(id,"cl_forwardspeed %i", speed)
client_cmd(id,"cl_sidespeed %i", speed)
client_cmd(id,"cl_backspeed %i", speed)
you can probably see what I'm trying to do, but I know im doing this wrong somehow. Speed is a variable pulled out of mysql. I can't figure out how to do this. Ive never really done anything with variables and doing this.