25.06.2014, 20:28
May this will help you 

pawn Код:
#include <a_samp>
// variable
new lawnmower[MAX_PLAYERS];
public OnPlayerEnterCheckpoint(playerid)
{
if(lawnmower[playerid] == 1)
{
lawnmower[playerid] =2;
SetPlayerCheckpoint(playerid, size,x,y,z);
}
if(lawnmower[playerid] == 2)
{
lawnmower[playerid] =3;
SetPlayerCheckpoint(playerid, size,x,y,z);
}
if(lawnmower[playerid] == 3)
{
lawnmower[playerid] =4;
SetPlayerCheckpoint(playerid, size,x,y,z);
}
// this for your las checkpoint (finish the job)
if(lawnmower[playerid] == 4)
{
lawnmower[playerid] =0;
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,-1,"** You has finished the job!");
GivePlayerMoney(playerid,100000)
}
return 1;
}