//Includes #include <a_samp> #include <streamer> #include <zcmd> CMDtartharvest(playerid, params[]) { SetPlayerCheckpoint(playerid, -102.0503, 148.3964, 3.1164, 3.0); return 1; } public OnPlayerEnterCheckpoint(playerid) { if(IsPlayerInRangeOfPoint(playerid, -102.0503, 148.3964, 3.1164, 3.0)) { SetPlayerCheckpoint(playerid, -123.4742, 98.0780, 3.1172, 3.0); DisablePlayerCheckpoint(playerid); } else if(IsPlayerInRangeOfPoint(playerid, -123.4742, 98.0780, 3.1172, 3.0)) { SetPlayerCheckpoint(playerid, -109.7551, 151.8636, 3.3736, 3.0); DisablePlayerCheckpoint(playerid); GivePlayerMoney(playerid, 10000); } return 1; } |