AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Copying Trie contents (https://forums.alliedmods.net/showthread.php?t=216021)

Backstabnoob 05-15-2013 12:38

Copying Trie contents
 
What's the easiest way to copy the contents of A trie to B trie? Simply using the = operator will copy the trie ID which is useless since both variables will edit the same trie.

Is there nothing better than a loop?

fysiks 05-15-2013 13:05

Re: Copying Trie contents
 
What is listed in celltrie.inc is what you get. Also, you can't loop through a trie (as far as I know) unless you know all of the keys.

Arkshine 05-15-2013 13:05

Re: Copying Trie contents
 
It sounds like a XY problem. What are you trying to do exactly ?


All times are GMT -4. The time now is 16:19.

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