Raised This Month: $ Target: $400
 0% 

Help with concmd and knife only thing.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ev0d00b
Member
Join Date: Aug 2005
Location: Middle Earth
Old 03-25-2006 , 09:41  
Reply With Quote #1

Quote:
Originally Posted by VEN
- use code indentation
- cs_get_weapon_id(id)==CSW_KNIFE is incorrect since cs_get_weapon_id returns weapon's entity id but not weapon id
- use set_cvar_num to set sv_maxspeed
- set_user_maxspeed(id, 0.0) default player entity speed is 250.0 but not 0.0
also thanks i'm wasn't too sure bout cs_get_weapon_id so yea thanks.


also it says in the docs that set_user_maxspeed(id,0.0) will set it back to defualt.

and the sv_maxspeed changes quite well at the moe

but if i wanted to do it as cvar num i just do as

set_cvar_string("sv_maxspeed",1500)

?
__________________
ev0d00b is offline
Send a message via MSN to ev0d00b
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:34.


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