Raised This Month: $ Target: $400
 0% 

Array Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-20-2012 , 13:32   Array Problem
Reply With Quote #1

I created an array

PHP Code:
enum Substatus Status,Time };
new 
g_activesub[32][Substatus]; 
And i want to set the status of a sub of a user example.

g_activesub[ProIcons][Status]="Searching..." ...

i tried to achieve that with

g_activesub[ret_getuser_id(id)][Status]=status;
g_activesub[user][Status]=status;
format(g_activesub[ret_getuser_id(id)][Status],31,"%s",status);
copy(g_activesub[ret_getuser_id(id)][Status],31,status);

but anyway i allready knew that they wouldn't gonna work. but i just test them, any idea? how can i do it...
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons 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 07:50.


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