Raised This Month: $ Target: $400
 0% 

plugin performance


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zimis
Junior Member
Join Date: Dec 2007
Location: Lithuania
Old 01-21-2009 , 09:52   Re: plugin performance
Reply With Quote #1

about 3) is it okay to do that stuff? i mean to register events only when amx_whatever is 1?

If everything is okay, i think it is good way improve performance.

i.e

case 1: using plugon (similar to 3rd question)

plugin checks amx_whatever value and gets 0, it dose not register any events,messages or whatever, yes? so plugin dose not interact with the game, yes?

case 2: not using plugon

plugin check amx_whaterver value and gets 0, it register couple of events like ResetHUD, or messages of round start.

Every new round or when HUD is reseted, plugin calls defined function and check if amx_whatever is 0 or 1?

QUESTION?

Why force plugin call its function, and check amx_whatever value? when amx_whatever is 0
__________________
I really like cookies
zimis is offline
Send a message via Skype™ to zimis
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 01:45.


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