Raised This Month: $ Target: $400
 0% 

Error: Must be assigned to an array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 06-01-2009 , 06:14   Error: Must be assigned to an array
Reply With Quote #1

PHP Code:
new const WEAPONLVLS[][] = { """""""4""""10""""1""5",
            
"""""""2""""6""6",
            
"""""""3""",
            
"8""9)""1""""""",
            
"4""9""""7" }

//...
static lvls
lvls 
WEAPONLVLS[ArrayGetCell(g_primary_weaponidsweap)]
        
if(
g_playerlevel[id] == lvls || g_playerlevel[id] >= lvls)
       
len += formatex(menu[len], charsmax(menu) - len"\r%d.\r %s \y(Nivel %d)^n"weap-WPN_STARTID+1WEAPONNAMES[ArrayGetCell(g_primary_weaponidsweap)], WEAPONLVLS[ArrayGetCell(g_primary_weaponidsweap)])
else
       
len += formatex(menu[len], charsmax(menu) - len"\r%d.\d %s (Nivel %d)^n"weap-WPN_STARTID+1WEAPONNAMES[ArrayGetCell(g_primary_weaponidsweap)], WEAPONLVLS[ArrayGetCell(g_primary_weaponidsweap)]) 
Error: Must be assigned to an array on line 3248

what is the problem?
__________________
alan_el_more 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 13:57.


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