Raised This Month: $51 Target: $400
 12% 

force +voicerecord


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Evian
Junior Member
Join Date: Jun 2009
Old 09-20-2009 , 20:28   force +voicerecord
Reply With Quote #1

Hi I'm a sourcemod nub ,

is it possible to force +voicerecord?

( Yes, it seems to be a spy method )
Evian is offline
Evian
Junior Member
Join Date: Jun 2009
Old 09-22-2009 , 08:25   Re: force +voicerecord
Reply With Quote #2

dudes
Evian is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 09-22-2009 , 09:21   Re: force +voicerecord
Reply With Quote #3

Probably not as it is a client-side command.

You can try the client exec plugin, but it might still not work.

http://forums.alliedmods.net/showthread.php?p=630439
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
olj
Veteran Member
Join Date: Jun 2009
Old 09-22-2009 , 09:22   Re: force +voicerecord
Reply With Quote #4

You can use ClientCommand or FakeClientCommand. But user must actually HOLD the button and the closest thing we can do is use OnGameFrame for that. I'm not sure if it will give a valid voice output.

Can also play around with OnPlayerRunCmd - so whenever they walk (for example) - +voicerecord will be simulated.

Oh, and yeah - its client side command so it may not work at all.
__________________
olj is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 09-22-2009 , 09:28   Re: force +voicerecord
Reply With Quote #5

Actually, since it is +voicerecord, that will keep going until he puts in -voicerecord.

When you press a button bound to a +command, it automatically does the -command when you let go of that button.

However, if you just put the +command in to the console, it will keep going until you put in the -command.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
olj
Veteran Member
Join Date: Jun 2009
Old 09-23-2009 , 13:03   Re: force +voicerecord
Reply With Quote #6

Quote:
Originally Posted by Lebson506th View Post
Actually, since it is +voicerecord, that will keep going until he puts in -voicerecord.

When you press a button bound to a +command, it automatically does the -command when you let go of that button.

However, if you just put the +command in to the console, it will keep going until you put in the -command.
Oh, I actually haven't thought about that , thanx for the tip. Then the only problem is to confirm if this command can be forced - i saw AtomicStriker forced bots to use +attack and +attack2, so its not impossible.
__________________
olj is offline
Evian
Junior Member
Join Date: Jun 2009
Old 09-24-2009 , 14:45   Re: force +voicerecord
Reply With Quote #7

Ok thanks @ all
Evian 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 05:39.


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