*** Not a descriptive title - ******.
#1

Код:
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;
Reply
#2

scarface :/

remove
pawn Код:
new difference;
Reply
#3

??NO REPLAY
Reply
#4

i already replyed with the solution -_-
Reply
#5

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

OK thanxx Goldzoro
Reply
#7

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
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)