Raised This Month: $ Target: $400
 0% 

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: sickM0nkey
Forum: Scripting Help 08-29-2012, 21:19
Replies: 8
Views: 1,993
Posted By sickM0nkey
Re: Read server launch options (registered cvar)

Server will be launched remotely several times a day! There is need for setting one cvar (registered in plugin) with different value each time server starts. There is no option to write cvar in...
Forum: Scripting Help 08-29-2012, 14:41
Replies: 8
Views: 1,993
Posted By sickM0nkey
Re: Read server launch options (registered cvar)

One way to do that is by connecting to database. Each time server runs, it gets different variable value. Server will be launched remotely by cmd. There is no option to write new config file each...
Forum: Scripting Help 08-29-2012, 08:23
Replies: 8
Views: 1,993
Posted By sickM0nkey
Re: Read server launch options (registered cvar)

Adding cvar to config file is not an option! I need to pass cvar with launch options like so

hlds.exe -game cstrike -console +mycvar 3 +map de_dust2


and then read it from script with
...
Forum: Scripting Help 08-28-2012, 22:32
Replies: 8
Views: 1,993
Posted By sickM0nkey
Read server launch options (registered cvar)

Is it possible to set non existent cvar (cvar registered only in plugin) from server launch options and then read it from plugin? I guess not? I'm trying to accomplish that but without success! :/
Forum: Scripting Help 08-24-2012, 15:12
Replies: 4
Views: 1,329
Posted By sickM0nkey
Re: list of predefined VGUIMenu id's

ye, but it did not return Team_Select on first join, weird! String is empty. Team_Select is only value, that is not set.
Forum: Scripting Help 08-24-2012, 13:27
Replies: 4
Views: 1,329
Posted By sickM0nkey
Re: list of predefined VGUIMenu id's

Weird, when I join game with Old Style Menu, and check get_msg_arg_string(4, MenuCode) then MenuCode is empty string (checking with if(MenuCode[0]) before MenuCode printing), but when I try change...
Forum: Scripting Help 08-24-2012, 12:23
Replies: 4
Views: 1,329
Posted By sickM0nkey
list of predefined VGUIMenu id's

Hello && sorry about my English

I need to detect when player reaches SELECT TEAM MENU

For now, I have

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -4. The time now is 05:41.


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