Raised This Month: $ Target: $400
 0% 

Array Help..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 06-03-2007 , 20:58   Array Help..
Reply With Quote #1

Error is with line
PHP Code:
g_AdList[g_adAmount] = parsedad 
ERROR: Error: Must be assigned to an array on line 31
PHP Code:
#define maxstuff 256

new g_AdList[maxstuff]

public 
load()
{
    new 
readdata[128],steamid[32],txtlenparsedad[256]
    
    new 
g_adAmount 0
    
while(!read_file(filename,g_adAmount++,readdata,127,txtlen))
    {
        
parse(filename,parsedad,sizeof(parsedad))
        
g_AdList[g_adAmount] = parsedad
    
}

PS: I'm sorry hawlk for what I said on aim
Styles is offline
Send a message via AIM to Styles
 


Thread Tools
Display Modes

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 10:37.


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