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

[CODE] [ORPHEU] How to hook when player use +voicerecord


Post New Thread Reply   
 
Thread Tools Display Modes
souvikdas95
Senior Member
Join Date: Mar 2012
Old 04-19-2014 , 13:02   Re: [CODE] [ORPHEU] How to hook when player use +voicerecord
Reply With Quote #61

but still it would occupy some memory space ( eg. variables ). Anyways suppose I am using okapi... I am getting some problem with using the code segment you posted...

client_voicerecord_off is giving a continuous stream of messages when I keep "+voicerecord" pressed
client_voicerecord_on is not responding in any case

Last edited by souvikdas95; 04-19-2014 at 13:04.
souvikdas95 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-19-2014 , 13:26   Re: [CODE] [ORPHEU] How to hook when player use +voicerecord
Reply With Quote #62

Memory doesn't matter really, especially with current server memory capacity. What you need first is to run plugins as fast as possible ; because since all is single-thread, speed is important. Of course you can care about memory (most of time trivial), but speed matters before all.

About the plugin, this is not my code, I mean the way of working. But I don't think you can really something about it, hooking -voicerecord seems more tricky. Well debug and see by yourself, you will understand and try if you can find a better way.
__________________

Last edited by Arkshine; 04-19-2014 at 13:26.
Arkshine is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 04-19-2014 , 13:33   Re: [CODE] [ORPHEU] How to hook when player use +voicerecord
Reply With Quote #63

Thank you Arkshine

You're great

Keep replying to me, and you shall remain my favourite on this forum
souvikdas95 is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 04-19-2014 , 15:37   Re: [CODE] [ORPHEU] How to hook when player use +voicerecord
Reply With Quote #64

Stop thinking on memory lol avoid that from your mind
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Reply


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


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