Raised This Month: $ Target: $400
 0% 

Need Opinion (Optimizing / File or Array)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 01-31-2009 , 22:37   Re: Need Opinion (Optimizing / File or Array)
Reply With Quote #1

Well one thing is. I'm not using AMXX flags. It's a custom access thing. So read_flags could not be used here.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 01-31-2009 , 23:57   Re: Need Opinion (Optimizing / File or Array)
Reply With Quote #2

Quote:
Originally Posted by Drak View Post
Well one thing is. I'm not using AMXX flags. It's a custom access thing. So read_flags could not be used here.
read_flags doesn't care about AMXX, it does what i says, converts the string into a bitflag. You can check it with your own values, use your own flags as you wish.

And I think the best way would be to read the file into a cellarray on mapload/command, and check it when needed.
__________________

Community / No support through PM
danielkza 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 01:43.


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