i'm getting this error when i try to compile this part of my script...
Code:
/home/users/amxmodx/tmp3/phpDIC9UD.sma(181) : error 017: undefined symbol "cl_backspeed"
i'm trying to make it that CT's have a set backspeed ONLY
and here is the script...
Code:
register_cvar("amx_zbot_backspeed", "220.0")
register_event("CurWeapon","backspeed","be","1=1")
public backspeed(id) {
if (is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT) {
client_cmd(id, cl_backspeed(get_cvar_num("amx_zbot_backspeed")))
}
return PLUGIN_HANDLED
}
__________________