public OnPlayerEnterCheckpoint(playerid) { if(lawnmower[playerid] == 1) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid coords); //Your code goes here.... } return 1; }