Raised This Month: $ Target: $400
 0% 

Optimizing Code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-01-2016 , 09:58   Re: Optimizing Code
Reply With Quote #5

What you could do is set just 1 task in your public FunctionCalled(id)

Then in your task function, you could check everything in there and set everything to true or false.

Anyways, there should indeed be a more proper way but i have no clue how to do that, guess you gotta work with constants & for loops instead.

@siriusmd99, you're still using 3 tasks...
__________________

Last edited by Napoleon_be; 06-01-2016 at 09:59.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
 



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 18:43.


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