SA-MP Forums Archive
Error 008 I Hate this error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error 008 I Hate this error (/showthread.php?tid=625088)



Error 008 I Hate this error - Yaa - 27.12.2016

Errors:
PHP код:
D:\pawn-editor\include\VCData\Features\Taxi.pwn(22) : error 008must be a constant expressionassumed zero
D
:\pawn-editor\include\VCData\Features\Taxi.pwn(38) : error 008must be a constant expressionassumed zero
D
:\pawn-editor\include\VCData\Features\Taxi.pwn(55) : error 008must be a constant expressionassumed zero 
Code:

PHP код:
static m_TaxiLocations 12;
new 
Float:TaxiLocations[m_TaxiLocations][] = { //22
    
{2000.61231524.437118.19230.0000},
    
//etc
};
new 
TaxiPrices[m_TaxiLocations] = { //38
     
5800,
     
//etc
};
new 
TaxiNames[m_TaxiLocations][] = { //55
    
"The Ship",
     
//etc
}; 



Re: Error 008 I Hate this error - Yaa - 27.12.2016

fixed.

Quote:

#define

again *-*


Re: Error 008 I Hate this error - BiosMarcel - 27.12.2016

Good Job Mr. SA-MP Lead Scripter