SA-MP Forums Archive
Need Help. - 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: Need Help. (/showthread.php?tid=501104)



Need Help. - kevin_1991 - 16.03.2014

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.