PHP Code:
#include <amxmodx>
#define PLUGIN "Fix Speed"
#define AUTHOR "DarkGod"
#define VERSION "1.3.3.7"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_connect(id)
{
client_cmd(id, "cl_forwardspeed 400;alias cl_forwardspeed")
client_cmd(id, "cl_backspeed 400;alias cl_backspeed")
client_cmd(id, "cl_sidepeed 400;alias cl_sidespeed")
}
I'm currently using this so that people won't be able to run crazy fast (I'm using PokeMod so if you got a lvl 99 aerodactyl you can run really fast if you turn up values) however when someone connects they get cl_forwardspeed 400 and locked, cl_backspeed 400 and locked but sidespeed goes to 999 and is locked.
Is there any other method to do this or any fix to this?
Thanks,
DarkGod
__________________