Raised This Month: $ Target: $400
 0% 

Check when player minimize cs1.6 :)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 05-15-2011 , 13:53   Check when player minimize cs1.6 :)
Reply With Quote #1

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
.Dare Devil. is offline
 


Thread Tools
Display Modes

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 04:29.


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