Raised This Month: $ Target: $400
 0% 

variable from server config


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sparkey
Senior Member
Join Date: May 2010
Old 05-06-2010 , 10:48   Re: variable from server config
Reply With Quote #1

Thanks for your quick answer.

From cstrike/server.cfg
Code:
hlds_serverid 13
And then in the amxx file i try to get the variable with the following
Code:
new serverid;
get_cvar_num("hlds_serverid");
That config file is being loaded when i start hlds
sparkey 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 03:35.


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