public OnPlayerEnterCheckpoint(playerid){ if(GetPVarInt(playerid, "GottenSomething") == 1) return 0; if(GetPVarInt(playerid, "GottenSomething") == 0) { //do something here. } return 1;}