trie array edit
hi, i read the tutorial about tries and looked into plugins which uses it, but still i want to know about a command in amxx to edit trie cell and its usage, i need to edit some data in the trie array, few fields of it to be exact
|
Re: trie array edit
Go to -> amxmodx\scripting\testsuite and open trietest.sma, there you can see some trie manipulations and tests.
|
Re: trie array edit
PHP Code:
PHP Code:
this way i get data PHP Code:
|
Re: trie array edit
The difference is that one native is used for storing a string value and other for cell value.To retrieve a value from a key you must use a TrieGet* native not ArrayGet*, and the type of value you want: string/cell/array.For setting data back you just need to know the KeyName, it's like nvault, data will be overwrited.Didn't you read trietest.sma ?! :/
|
Re: trie array edit
i did, but not much explanation there)) i think i get it now, how to fully work with tries and how they work
|
| All times are GMT -4. The time now is 15:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.