a weird error
#1

Hello When i place this

Код:
forward SweeperJobFinish(playerid);
public SweeperJobFinish(playerid)
{
    if(SweepingJob[playerid] == 0){ return 1; }

    GivePlayerCash(playerid,2000);
    SendClientMessage(playerid,COLOR_YELLOW,"* You have been payed for your job! - $2000");
    SendClientMessage(playerid,COLOR_LIGHTRED,"*((You have to use /startsweeping again))");
    SweepingJob[playerid] = 0;

    return 1;
}
Then i get this Errors

Код:
error 029: invalid expression, assumed zero
warning 217: loose indentation
error 017: undefined symbol "SWEEPERJOB"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
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: 2 Guest(s)