Raised This Month: $51 Target: $400
 12% 

Two dimensional array inside enum?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 11-08-2014 , 07:47   Two dimensional array inside enum?
Reply With Quote #1

Is that possible?

I would like to have put multiple "infos" for a steamid. But if I fill it up with TrieSetArray it normaly just sets the latest info. So what can I do that I can have multiple datas for one steam id?

PHP Code:
enum _:Data
{
    
SteamId[35],
    
OldInfo[100],
    
NewInfo[100]

Such thing is gonna throw an error, considering having 33 types of data for a steam id.

PHP Code:
enum _:Data
{
    
SteamId[33][35],
    
OldInfo[100],
    
NewInfo[100]

And also is there a way to automatically sort the multiple datas if the first ones are full?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-08-2014 , 21:35   Re: Two dimensional array inside enum?
Reply With Quote #2

Your request doesn't really make much sense. You shouldn't need to store SteamID's in an enum like that. You save information by player entity number (1 to 32) and get the SteamID when you go to save the info.

If you want better advice, you will need to provide more information about what you are trying to do (use actual info and not take examples).
__________________
fysiks 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 18:32.


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