SA-MP Forums Archive
*** Not a descriptive title - ******. - 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: *** Not a descriptive title - ******. (/showthread.php?tid=395150)



*** Not a descriptive title - ******. - sscarface - 25.11.2012

Код:
C:\Documents and Settings\My Computer\My Documents\Downloads\LV Script\gamemodes\LV-CNR.pwn(21191) : warning 203: symbol is never used: "difference"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Код:
forward AntiCash();
public AntiCash()
{
	foreach(Player, i)
	{
		if(GetPlayerMoney(i) != PlayerCash[i])
		{
		    new difference;
			ResetPlayerMoney(i);
			GivePlayerMoney(i,PlayerCash[i]);
			return 1;
		}
	}
	return 1;



Re: little help rep - GoldZoroGrab - 25.11.2012

scarface :/

remove
pawn Код:
new difference;



Re: little help rep - sscarface - 25.11.2012

??NO REPLAY


Re: little help rep - GoldZoroGrab - 25.11.2012

i already replyed with the solution -_-


Re: little help rep - sscarface - 25.11.2012

I dnt think removing is solution. now tell me what is error? and why they error? reason?


Re: little help rep - sscarface - 25.11.2012

OK thanxx Goldzoro


AW: little help rep - Skimmer - 25.11.2012

The problem is like the compiler said, the variable difference is useless in your script.
Just remove it or use this above the variable.
pawn Код:
#pragma unused difference



Re: *** Not a descriptive title - ******. - thefatshizms - 25.11.2012

Like mousebreaker said, the compiler is saying that your not using it. Why create a variable and not use it...