Raised This Month: $ Target: $400
 0% 

Warning when compile!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zeLentN
Junior Member
Join Date: Sep 2013
Location: Sweden
Old 01-15-2014 , 06:25   Warning when compile!
Reply With Quote #1

Hello!

I get a warning when i compile, it reads as follows:

Code:
warning 224: indeterminate array size in "sizeof" expression (symbol "")

PHP Code:
static szNum[11]
for( new 
iItem 0iItem ItemsiItem++ )
{
    
strbreak(iDataszNumcharsmax(szNum), iDatacharsmax(iData)) // This Line
    
iItemLevel[iPlayer][iItem][CS_TEAM_T] = str_to_num(szNum)



I would be grateful for help.

Regards zeLentN
zeLentN is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-15-2014 , 07:04   Re: Warning when compile!
Reply With Quote #2

What is 'iData' ?
__________________
Arkshine is offline
zeLentN
Junior Member
Join Date: Sep 2013
Location: Sweden
Old 01-15-2014 , 07:09   Re: Warning when compile!
Reply With Quote #3

PHP Code:
new id iData[0
Btw, i got it work now.

Last edited by zeLentN; 01-15-2014 at 07:16.
zeLentN is offline
Reply



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:11.


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