Raised This Month: $ Target: $400
 0% 

define/register_cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-02-2009 , 13:16   define/register_cvar
Reply With Quote #1

Hi,

idk why this not works. i have a cvar like :

PHP Code:
register_cvar("my_speed","2.0")

speed 320.0 get_cvar_float("my_speed"
but i dont wanna to have a cvar. so i tried to change this to :

PHP Code:
#define my_speed 2.0


speed 320.0 my_speed 
problem :

player get speed over 1500 i thinked so the speed must be 640 or not ?this all are the same or not???
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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 02:28.


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