SA-MP Forums Archive
Help erorii - 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: Help erorii (/showthread.php?tid=307929)



Help erorii - RuSke - 01.01.2012

Help?

Код:
C:\Documents and Settings\BogdaneL\My Documents\Downloads\Indungi HD Rp\gamemodes\Indungi.pwn(4459) : error 029: invalid expression, assumed zero
C:\Documents and Settings\BogdaneL\My Documents\Downloads\Indungi HD Rp\gamemodes\Indungi.pwn(4459) : error 029: invalid expression, assumed zero
C:\Documents and Settings\BogdaneL\My Documents\Downloads\Indungi HD Rp\gamemodes\Indungi.pwn(4459) : error 017: undefined symbol "srclen"
C:\Documents and Settings\BogdaneL\My Documents\Downloads\Indungi HD Rp\gamemodes\Indungi.pwn(4459) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line: 4459

Код:
stock right(source[], len)
{
	new retval[MAX_STRING], srclen;
	srclen = strlen(source);
	strmid(retval, source, srclen - len, srclen, MAX_STRING);
	return retval;
}



Re: Help erorii - Basssiiie - 01.01.2012

The stock is fine, it works for me and no errors pop up here.