Raised This Month: $ Target: $400
 0% 

[ H3LP ] PreThink registered in entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-09-2018 , 11:29   [ H3LP ] PreThink registered in entity
Reply With Quote #1

Hello, as how all know, PreThink has a high CPU usage, so I want to know if be more lighter register PreThink in entity with RegisterHamFromEntity and disable when player doesn't need, or register by class?
__________________








CrazY. is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-09-2018 , 20:58   Re: [ H3LP ] PreThink registered in entity
Reply With Quote #2

If your code were optimized in the function it wont be problem but try avoiding using it when there is a better way.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 04:39.


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