Error 080 - 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 080 (
/showthread.php?tid=520982)
Error 080 -
ridhoswasta - 21.06.2014
Код HTML:
F:\CNR - RP\gamemodes\SFCRRPG.pwn(13175) : error 080: unknown symbol, or not a constant symbol (symbol "i")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Код:
stock strreplacee(string[], find, replace)
{
( this line ) for(new i=0; i < sizeof(string[i]); i++)
{
if(string[i] == find)
{
string[i] = replace;
}
}
}
Whats wrong?
Re: Error 080 -
Konstantinos - 21.06.2014
pawn Код:
for(new i=0, j = strlen(string); i < j; i++)
Re: Error 080 -
ridhoswasta - 21.06.2014
Thank you so much