SA-MP Forums Archive
warning 213: tag mismatch - 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: warning 213: tag mismatch (/showthread.php?tid=651678)



warning 213: tag mismatch - Fletcher007 - 25.03.2018

How i can fix this?
warning 213: tag mismatch
Код:
publics: Random(min, max)
{
	new a = random(max - min) + min;
	return a; // WARNING LINE
}



Re: warning 213: tag mismatch - jlalt - 25.03.2018

PHP код:
publicsRandom(minmax)
{
    new 
publics:random(max min) + min;
    return 
a// WARNING LINE




Re: warning 213: tag mismatch - kovac - 25.03.2018

This is mine and it works fine:
PHP код:
stock randomEx(minmax)
{
    new 
rand random(max-min)+min;
    return 
rand;




Re: warning 213: tag mismatch - Fletcher007 - 25.03.2018

works ^ thank u