a weird error
#6

Код:
forward SweeperJobFinish(playerid);
public SweeperJobFinish(playerid)
{
	if(SweepingJob[playerid] == 0){ return 1; }
	
	GivePlayerMoney(playerid,200);
	SendClientMessage(playerid,COLOR_YELLOW,"* You have been payed for your job! - $200");
	SweepingJob[playerid] = 0;

	return 1;
}
That looks like mine but i made it self and the point is im using a new script know and there is it not defind somewhere.

Код:
: error 017: undefined symbol "SweeperJob"
: warning 215: expression has no effect
: error 001: expected token: ";", but found "]"
: error 029: invalid expression, assumed zero
: fatal error 107: too many error messages on one line

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


4 Errors.
I defiend it up in the script


Код:
#define sweeperjob
Its not working
Reply


Messages In This Thread
a weird error - by kevin_1991 - 16.03.2014, 12:59
Re: a weird error - by iThePunisher - 16.03.2014, 13:07
Re: a weird error - by GalaxyHostFree - 16.03.2014, 13:11
Re: a weird error - by kevin_1991 - 16.03.2014, 13:14
Re: a weird error - by GalaxyHostFree - 16.03.2014, 13:26
Re: a weird error - by kevin_1991 - 16.03.2014, 13:35

Forum Jump:


Users browsing this thread: 3 Guest(s)