Raised This Month: $ Target: $400
 0% 

[HELP] Map Menu [ TUT ]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 05-15-2018 , 04:18   Re: [HELP] Map Menu [ TUT ]
Reply With Quote #1

Quote:
Originally Posted by CrazY. View Post
Split string, store each map name in array. In menu, run a loop, get from array as an string, and show.
I guess trie is better to use in this case. Especially if u have duplicates of the same map in the text file, each valid map will only be added to the trie once. With an array you'd have to loop and check if the map was already added in the array. So TrieSetCell with a value of 1 applied to the mapname is the better way to go by first checking if TrieKeyExists.

Last edited by DarthMan; 05-15-2018 at 04:21.
DarthMan 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 04:36.


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