Raised This Month: $ Target: $400
 0% 

Array must be indexed O_O


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 08-12-2013 , 10:41   Array must be indexed O_O
Reply With Quote #1

i got this :

Code:
    static const g_Cost[][] = {     { "10000" },     { "13000" },     { "16000" },     { "5000" },     { "16000" },     { "12000" },     { "16000" },     { "15000" },     { "16000" } }

Code:
    cs_set_user_money(id, money-g_Cost[item])

Compiler says that array must be indexed ... It is already indexed, what the heck ?
Podarok is offline
 


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 15:58.


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