Raised This Month: $ Target: $400
 0% 

Parsing help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-24-2014 , 09:35   Re: Parsing help
Reply With Quote #3

What Bugsy said.

You didn't tell us what you want to do, but if you just want to push mixed data into a dynamic array, why not just use ArrayPushArray / ArrayGetArray?

PHP Code:
enum _ArrayData
{
   
_Data_Power,
   
_Data_Class16 ],
   
_Data_Ability256 ],
   
_Data_Weapon
}

new Array: 
g_aArray
// ...
g_aArray ArrayCreateArrayData )

// ...

new aDataArrayData ]
aData_Data_Power ] = 1
aData
_Data_Class ] = "awesome class"
// ...
ArrayPushArrayg_aArrayaData 

Last edited by Backstabnoob; 05-24-2014 at 09:36.
Backstabnoob is offline
 



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 09:35.


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