Raised This Month: $ Target: $400
 0% 

[Solved] Ask about 'ArrayCreate'


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-01-2014 , 10:03   Re: Ask about 'ArrayCreate'
Reply With Quote #1

WOW, this is totally crap. Use something like this instead.

Code:
enum _: someData {     weaponCodeName[ 32]     weaponType     weaponRecoil } new data[ someData ]

And use tries, I don't know exactly what you want to do, but it seems to be a better option.
TrieSetArray(trie, "weapon_name", data, sizeof data)
TrieGetArray(trie, "weapon_name", data, sizeof data)
__________________

Last edited by HamletEagle; 12-01-2014 at 10:03.
HamletEagle 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 15:31.


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