Check when player minimize cs1.6 :)
Hello :)
Is it possible to check this. In my mod there are some problems like the rain ambience, it stop when client minimize cs and rain ambience sound start again when plugin call this client_cmd spk dir/file.wav So if i know how to check this then i can do , when player minimize cs1.6 then he restore it and then is client_cmd Callrainamb and register_clcmd("Callrainamb", "pl_ambstart") And rain sound working again :) I found a one way client_cmd(id, "bind h ^"+commandmenu;Callrainamb^"") But this is slow hack and very crab, when client press h then he lisen 2 rain sound :) Please help me :) |
Re: Check when player minimize cs1.6 :)
I don't think it's possible to get when he minimized it
|
Re: Check when player minimize cs1.6 :)
Just write console bind h ^"+commandmenu;say i minimized cs"
and minimized, this works but there is some bind on cs what players cant press? :) |
Re: Check when player minimize cs1.6 :)
I found a way how to check when client minimize cs1.6
Just bind % "+commandmenu; Call_effects" You cant press % This is nohting key ( i dont have this key ) And when you minimize cs1.6 then this bind % call this "call_effects" But the problem is the steam, client must write this console , server cant do this. This sucks :S |
Re: Check when player minimize cs1.6 :)
You can inform clients to bind it
|
Re: Check when player minimize cs1.6 :)
Yes put, someone do not bind and then is bug : )
But i have one question ( i dont know so much steam cs engine ) If client are steam then client_cmd bind key command not working? |
Re: Check when player minimize cs1.6 :)
Remove dproto. Go away. Thanks.
|
Re: Check when player minimize cs1.6 :)
when you tab out the engine forces you to do - commands i think
is it possible to hook -forward, -moveleft, -moveright or -back? |
Re: Check when player minimize cs1.6 :)
Quote:
|
Re: Check when player minimize cs1.6 :)
also, when a player is alt-tabbed IN_JUMP has no effect on him... maybe you can create a test for it... like make a player jump and if he really jumps then he is ingame, or else hes minimized
|
| All times are GMT -4. The time now is 04:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.