Raised This Month: $ Target: $400
 0% 

cl_backspeed error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 06-08-2006 , 05:56   cl_backspeed error
Reply With Quote #1

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 }
__________________
It's a mystery.
Mini_Midget is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-08-2006 , 06:44  
Reply With Quote #2

Code:
#include <amxmodx> #include <cstrike> public plugin_init() {     register_cvar("amx_zbot_backspeed", "220.0")     register_event("CurWeapon","backspeed","be","1=1") } public backspeed(id) {     new CsTeams:team = cs_get_user_team(id)     if (is_user_alive(id) && team == CS_TEAM_CT) {         client_cmd(id, "cl_backspeed %d" , get_cvar_num("amx_zbot_backspeed"))     } }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 06-08-2006 , 07:19  
Reply With Quote #3

thxs v3x,
i can always count on you
__________________
It's a mystery.
Mini_Midget is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode